http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50739
Bug #: 50739 Summary: [avr] nameless error with -fmerge-all-constants Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal Priority: P3 Component: target AssignedTo: unassig...@gcc.gnu.org ReportedBy: g...@gcc.gnu.org CC: eric.wedding...@atmel.com Host: i386-mingw32 Target: avr Build: i686-linux-gnu With the source that will follow, I get the following error message (same without -da): $ avr-gcc -fmerge-all-constants -mmcu=atmega88 -S foo.c -da foo.c:18: confused by earlier errors, bailing out foo.s is printed but the output stops after printing __c.1229: .string "a" see following attachment. Trunk versions that show the problem: r179594, r179997. Configured with: ../../gcc.gnu.org/trunk/configure --target=avr --prefix=/local/gnu/install/gcc-4.7-pgm-mingw32 --host=i386-mingw32 --build=i686-linux-gnu --enable-languages=c,c++ --disable-nls --disable-shared --disable-lto --disable-checking --with-dwarf2 Thread model: single gcc version 4.7.0 20111014 (experimental) (GCC) GNU C (GCC) version 4.7.0 20111014 (experimental) (avr) compiled by GNU C version 3.4.5 (mingw-vista special r2), GMP version 5.0.1, MPFR version 3.0.0-p8, MPC version 0.8.2