[Bug c++/49669] New: Compiler crashes with "internal compiler error: in perform_member_init, at cp/init.c:530"
z0sh at sogetthis dot com
gcc-bugzilla@gcc.gnu.org
Thu Jul 7 11:19:00 GMT 2011
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
More information about the Gcc-bugs
mailing list