This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/22448] New: ICE on dereferencing a label in an asm statement
- From: "mrd at alkemio dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Jul 2005 02:22:05 -0000
- Subject: [Bug c/22448] New: ICE on dereferencing a label in an asm statement
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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