public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/22448] New: ICE on dereferencing a label in an asm statement
@ 2005-07-13  2:24 mrd at alkemio dot org
  2005-07-13  2:26 ` [Bug middle-end/22448] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: mrd at alkemio dot org @ 2005-07-13  2:24 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-07-28 16:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-13  2:24 [Bug c/22448] New: ICE on dereferencing a label in an asm statement mrd at alkemio dot org
2005-07-13  2:26 ` [Bug middle-end/22448] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
2005-07-28 16:36 ` pinskia at gcc dot gnu dot org
2005-07-28 16:40 ` [Bug middle-end/22448] " pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).