This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug inline-asm/13410] New: gcc 3.4 fails to compile asm with 4 "m" operands and generates ICE with -fnew-ra
- From: "michaelni at gmx dot at" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Dec 2003 13:48:01 -0000
- Subject: [Bug inline-asm/13410] New: gcc 3.4 fails to compile asm with 4 "m" operands and generates ICE with -fnew-ra
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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