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 inline-asm/13410] New: gcc 3.4 fails to compile asm with 4 "m" operands and generates ICE with -fnew-ra


gcc 3.4 and older versions (3.3.2, 2.95.4) fail to compile the attached 
simple inline asm with 4 "m" operands and 3.4 generates ICE with -fnew-ra 
 
command line: 
gcc-snapshot fail.i -c -o fail.o 
 
error message: 
fail.c: In function `test': 
fail.c:2: error: can't find a register in class `GENERAL_REGS' while 
reloading `asm' 
 
command line2: 
gcc-snapshot fail.i -c -o fail.o -fnew-ra 
 
error message2: 
fail.c: In function `test': 
 
fail.c:10: internal compiler error: Didn't find a coloring. 
 
Please submit a full bug report, 
with preprocessed source if appropriate. 
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           Summary: gcc 3.4 fails to compile asm with 4 "m" operands and
                    generates ICE with -fnew-ra
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: inline-asm
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: michaelni at gmx dot at
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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