Bug 13410 - gcc 3.4 fails to compile asm with 4 "m" operands and generates ICE with -fnew-ra
Summary: gcc 3.4 fails to compile asm with 4 "m" operands and generates ICE with -fnew-ra
Status: RESOLVED DUPLICATE of bug 11203
Alias: None
Product: gcc
Classification: Unclassified
Component: inline-asm (show other bugs)
Version: 3.4.0
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-16 13:47 UTC by michaelni
Modified: 2005-07-23 22:49 UTC (History)
1 user (show)

See Also:
Host: i686-pc-linux-gnu
Target: i686-pc-linux-gnu
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
preprocessed source whih triggers the bug (129 bytes, text/plain)
2003-12-16 13:49 UTC, michaelni
Details

Note You need to log in before you can comment on or make changes to this bug.
Description michaelni 2003-12-16 13:47:59 UTC
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.
Comment 1 michaelni 2003-12-16 13:49:55 UTC
Created attachment 5338 [details]
preprocessed source whih triggers the bug
Comment 2 Andrew Pinski 2003-12-16 22:59:02 UTC
This is a dup of bug 11203.

*** This bug has been marked as a duplicate of 11203 ***