public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/49669] New: Compiler crashes with "internal compiler error: in perform_member_init, at cp/init.c:530"
@ 2011-07-07 11:19 z0sh at sogetthis dot com
  2011-07-07 11:27 ` [Bug c++/49669] [4.6/4.7 Regression] [C++0x] " redi at gcc dot gnu.org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: z0sh at sogetthis dot com @ 2011-07-07 11:19 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: Compiler crashes with "internal compiler error: in
                    perform_member_init, at cp/init.c:530"
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: z0sh@sogetthis.com
              Host: x86
            Target: x86
             Build: x86


Compile this with "g++ -c x.cpp -std=c++0x":

--- BEGIN FILE x.cpp ---
struct Foo { explicit Foo(int) { } };
struct Goo { Goo() : x(Foo(4), Foo(5)) { } Foo x[2]; };
--- END FILE         ---

The compiler (GCC 4.6.0) crashes with this message:

x.cpp: In constructor ‘Goo::Goo()’:
x.cpp:2:38: internal compiler error: in perform_member_init, at cp/init.c:530


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

end of thread, other threads:[~2011-08-06  8:54 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-07 11:19 [Bug c++/49669] New: Compiler crashes with "internal compiler error: in perform_member_init, at cp/init.c:530" z0sh at sogetthis dot com
2011-07-07 11:27 ` [Bug c++/49669] [4.6/4.7 Regression] [C++0x] " redi at gcc dot gnu.org
2011-07-07 11:50 ` z0sh at sogetthis dot com
2011-07-07 12:13 ` redi at gcc dot gnu.org
2011-07-07 13:19 ` rguenth at gcc dot gnu.org
2011-07-07 16:10 ` z0sh at sogetthis dot com
2011-07-07 16:40 ` redi at gcc dot gnu.org
2011-08-01 14:55 ` rguenth at gcc dot gnu.org
2011-08-05 21:22 ` jason at gcc dot gnu.org
2011-08-06  4:37 ` jason at gcc dot gnu.org
2011-08-06  4:39 ` jason at gcc dot gnu.org
2011-08-06  8:54 ` 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).