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: [email protected]
ReportedBy: [email protected]
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"