public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/52247] New: [4.5/4.6/4.7 Regression] ICE with asm goto
@ 2012-02-14 15:13 jakub at gcc dot gnu.org
  2012-02-14 15:47 ` [Bug c++/52247] " jakub at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-02-14 15:13 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52247

             Bug #: 52247
           Summary: [4.5/4.6/4.7 Regression] ICE with asm goto
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: jakub@gcc.gnu.org
        ReportedBy: jakub@gcc.gnu.org


// { dg-do compile }

template <int N>
bool
bar ()
{
  __asm goto ("" : : : : lab);
  return true;
lab:
  return false;
}

bool
foo ()
{
  return bar<0> ();
}

ICEs, because pt.c doesn't adjust the LABEL_DECL properly.


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

end of thread, other threads:[~2012-07-02 10:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-14 15:13 [Bug c++/52247] New: [4.5/4.6/4.7 Regression] ICE with asm goto jakub at gcc dot gnu.org
2012-02-14 15:47 ` [Bug c++/52247] " jakub at gcc dot gnu.org
2012-02-14 15:48 ` jakub at gcc dot gnu.org
2012-02-14 19:52 ` jakub at gcc dot gnu.org
2012-02-14 23:36 ` [Bug c++/52247] [4.5/4.6 " jakub at gcc dot gnu.org
2012-02-20 21:42 ` [Bug c++/52247] [4.5 " pinskia at gcc dot gnu.org
2012-06-20 13:18 ` rguenth at gcc dot gnu.org
2012-07-02 10:21 ` rguenth at gcc dot gnu.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).