[Bug target/28270] New: [4.0/4.1/4.2 regression] ICE on invalid inline asm
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Jul 5 12:56:00 GMT 2006
The following invalid code snippet triggers an ICE since GCC 3.1:
============================================================
void foo(long double d)
{
asm("" :: "a" (d));
}
============================================================
bug.c: In function 'foo':
bug.c:3: error: impossible register constraint in 'asm'
bug.c:4: internal compiler error: in ix86_secondary_memory_needed, at
config/i386/i386.c:16554
Please submit a full bug report, [etc.]
Maybe related to PR26655.
--
Summary: [4.0/4.1/4.2 regression] ICE on invalid inline asm
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, error-recovery, monitored
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28270
More information about the Gcc-bugs
mailing list