This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/50739] New: [avr] nameless error with -fmerge-all-constants


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: unassigned@gcc.gnu.org
        ReportedBy: gjl@gcc.gnu.org
                CC: eric.weddington@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]