This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/28503] New: ICE on invalid arguments for 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: 26 Jul 2006 20:53:51 -0000
- Subject: [Bug c/28503] New: ICE on invalid arguments for inline-asm
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following testcase triggers an ICE since at least GCC 2.95.3:
=============================
void i;
void foo()
{
__asm__ ("" : "+r" (i));
}
=============================
bug.c: In function 'foo':
bug.c:5: internal compiler error: in gimplify_expr, at gimplify.c:5902
Please submit a full bug report, [etc.]
The C++ frontend emits a proper error message.
--
Summary: ICE on invalid arguments for inline-asm
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, monitored
Severity: normal
Priority: P3
Component: c
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=28503