public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/51477] New: [c++0x] ICE with initialization of invalid non-static data member
@ 2011-12-08 23:46 reichelt at gcc dot gnu.org
  2011-12-13 15:01 ` [Bug c++/51477] " dodji at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: reichelt at gcc dot gnu.org @ 2011-12-08 23:46 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 51477
           Summary: [c++0x] ICE with initialization of invalid non-static
                    data member
    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:

===========================
struct A
{
  typedef int int T;
  struct T x[1] = { 0 };
};
===========================

bug.cc:3:19: error: two or more data types in declaration of 'T'
bug.cc:1:8: internal compiler error: Segmentation fault
Please submit a full bug report, [etc.]


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

end of thread, other threads:[~2011-12-19  9:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-08 23:46 [Bug c++/51477] New: [c++0x] ICE with initialization of invalid non-static data member reichelt at gcc dot gnu.org
2011-12-13 15:01 ` [Bug c++/51477] " dodji at gcc dot gnu.org
2011-12-13 21:55 ` dodji at gcc dot gnu.org
2011-12-13 22:52 ` dodji at gcc dot gnu.org
2011-12-13 22:55 ` dodji at gcc dot gnu.org
2011-12-19  9:48 ` dodji at gcc dot gnu.org
2011-12-19 10:11 ` 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).