This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug inline-asm/35318] New: [4.3/4.4 regression] ICE with inline asm in reload
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Feb 2008 18:06:50 -0000
- Subject: [Bug inline-asm/35318] New: [4.3/4.4 regression] ICE with inline asm in reload
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following valid code snippet triggers an ICE on mainline and 4.3 branch
when compiled with -O:
============================================
void foo()
{
double x = 4, y;
__asm__ volatile ("" : "=r,r" (x), "=r,r" (y) : "%0,0" (x), "m,r" (8));
}
============================================
bug.c: In function 'void foo()':
bug.c:5: error: Failure trying to reload:
(nil)
bug.c:5: internal compiler error: in gen_reload, at reload1.c:8043
Please submit a full bug report, [etc.]
--
Summary: [4.3/4.4 regression] ICE with inline asm in reload
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, monitored
Severity: normal
Priority: P3
Component: inline-asm
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35318