public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/51475] New: [c++0x] [4.7 Regression] ICE with invalid initializer_list
@ 2011-12-08 22:45 reichelt at gcc dot gnu.org
  2011-12-08 22:34 ` [Bug c++/51475] " reichelt at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: reichelt at gcc dot gnu.org @ 2011-12-08 22:45 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 51475
           Summary: [c++0x] [4.7 Regression] ICE with invalid
                    initializer_list
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: reichelt@gcc.gnu.org


The following invalid code snippet triggers an ICE on trunk:

=======================================
#include <initializer_list>

struct A
{
  A(int*);
};

struct B
{
  const std::initializer_list<A>& x;
};

B b = {{1}};
=======================================

bug.cc:13:11: internal compiler error: Segmentation fault
Please submit a full bug report, [etc.]


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

end of thread, other threads:[~2011-12-14 21:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-08 22:45 [Bug c++/51475] New: [c++0x] [4.7 Regression] ICE with invalid initializer_list reichelt at gcc dot gnu.org
2011-12-08 22:34 ` [Bug c++/51475] " reichelt at gcc dot gnu.org
2011-12-13  9:01 ` jakub at gcc dot gnu.org
2011-12-13 22:56 ` dodji at gcc dot gnu.org
2011-12-14  1:45 ` paolo.carlini at oracle dot com
2011-12-14  7:43 ` jakub at gcc dot gnu.org
2011-12-14  9:20 ` dodji at gcc dot gnu.org
2011-12-14  9:45 ` paolo.carlini at oracle dot com
2011-12-14 18:26 ` dodji at gcc dot gnu.org
2011-12-14 21:53 ` dodji at gcc dot gnu.org
2011-12-14 21:55 ` dodji 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).