This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/28270] New: [4.0/4.1/4.2 regression] ICE on invalid inline asm
- 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: 5 Jul 2006 12:56:19 -0000
- Subject: [Bug target/28270] New: [4.0/4.1/4.2 regression] ICE on invalid inline asm
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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