http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57597

            Bug ID: 57597
           Summary: ICE: in get_section, at varasm.c:312: Segmentation
                    fault
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gjl at gcc dot gnu.org
              Host: i386-mingw32
            Target: avr
             Build: i686-linux-gnu

Created attachment 30299
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30299&action=edit
foo.c: C test case

Compile the test case with

avr-gcc -mmcu=atmega168 -S foo.c -fmerge-all-constants -O
foo.c:12:1: internal compiler error: in get_section, at varasm.c:312
 }
 ^
foo.c:12:1: internal compiler error: Segmentation fault

This might be related to PR50739

== configure ==

Configured with:
../../gcc.gnu.org/trunk/configure --target=avr
--prefix=/local/gnu/install/gcc-4.8-mingw32 --host=i386-mingw32
--build=i686-linux-gnu --enable-languages=c,c++ --disable-nls --disable-shared
--with-dwarf2
Thread model: single
gcc version 4.8.0 20130306 (experimental) (GCC)

Reply via email to