[Bug c/22448] New: ICE on dereferencing a label in an asm statement
mrd at alkemio dot org
gcc-bugzilla@gcc.gnu.org
Wed Jul 13 02:24:00 GMT 2005
With gcc 4.0.1, compiling the following results in an ICE:
void
foo ()
{
label: asm ("" : : "g" (*&&label));
}
Admittedly I don't expect it to do anything useful, but I was told in #gcc that
I should report the ICE anyways. (For what it's worth, this same code snippet
compiles without error in gcc 3.3 and 3.4.)
--
Summary: ICE on dereferencing a label in an asm statement
Product: gcc
Version: 4.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: mrd at alkemio dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: i386-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22448
More information about the Gcc-bugs
mailing list