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"
works fine with gcc version 4.7.0 20110917 (experimental) [trunk revision 178930] (GCC) and gcc version 4.6.2 20110917 (prerelease) [gcc-4_6-branch revision 178930] (GCC)
by "works fine" I mean no ICE, there's an error because it should be a{5,7,3}
Alright, if it's fixed already, that's fine. I only have the full release versions, so I didn't test anything newer than 4.6.1. Thanks!
Ok.