<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>24565</bug_id>
          
          <creation_ts>2010-11-15 08:09:21 +0300</creation_ts>
          <short_desc>ICE with -mint8</short_desc>
          <delta_ts>2011-01-18 13:27:22 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>avr-gcc</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>24830</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan A. Melnikov">iv</reporter>
          <assigned_to name="Grigory Milev">week</assigned_to>
          <cc>viy</cc>
    
    <cc>week</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>115314</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2010-11-15 08:09:21 +0300</bug_when>
    <thetext>Попытался воспроизвести 22295 на новом avr-gcc, получилось ещё веселее:
$ cat a.cpp
#include &lt;avr/io.h&gt;

int main() {
    uint8_t k=0,t=5;
    k=k+t;
}

$ avr-gcc -Wall -Werror -g -Os -S -mint8 -mmcu=atmega8535 a.cpp
&lt;built-in&gt;:0:0: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See &lt;http://gcc.gnu.org/bugs.html&gt; for instructions.

То же самое будет если убрать все остальные аргументы кроме -mint8 и имени файла.

Система -- Сизиф от 14.11.2010, x86_64, avr-gcc-4.5.1-alt1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>117257</commentid>
    <comment_count>1</comment_count>
    <who name="Grigory Milev">week</who>
    <bug_when>2011-01-18 13:25:32 +0300</bug_when>
    <thetext>http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46261
avr-libc doesn&apos;t support that option (-mint8)
https://bugzilla.redhat.com/show_bug.cgi?id=626889
This switch is no longer maintained, see the link of my previous post.

Предлагаю не использовать данную опцию, т.к. ее поддержка для платформы AVR прикрыта.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>117258</commentid>
    <comment_count>2</comment_count>
    <who name="Grigory Milev">week</who>
    <bug_when>2011-01-18 13:27:04 +0300</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 24830 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>