public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/50443] New: ICE when using brace-enclosed initializer for C-style array in constructor
@ 2011-09-17 14:04 z0sh at sogetthis dot com
  2011-09-17 21:20 ` [Bug c++/50443] " redi at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: z0sh at sogetthis dot com @ 2011-09-17 14:04 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 50443
           Summary: ICE when using brace-enclosed initializer for C-style
                    array in constructor
    Classification: Unclassified
           Product: gcc
           Version: 4.6.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: z0sh@sogetthis.com
              Host: x86
            Target: x86


The following code causes GCC 4.6.1 with -std=c++0x to crash:

struct Foo
{
  Foo() : a{{5,7,3}} { }
  int a[3];
};


Message: "internal compiler error: in cxx_eval_bare_aggregate, at
cp/semantics.c:6539"


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

end of thread, other threads:[~2011-09-22 23:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-17 14:04 [Bug c++/50443] New: ICE when using brace-enclosed initializer for C-style array in constructor z0sh at sogetthis dot com
2011-09-17 21:20 ` [Bug c++/50443] " redi at gcc dot gnu.org
2011-09-17 21:33 ` redi at gcc dot gnu.org
2011-09-17 22:36 ` z0sh at sogetthis dot com
2011-09-22 23:15 ` paolo.carlini at oracle dot com

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).