http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49669
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-invalid-code
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.07.07 11:27:31
Known to work| |4.5.2
Summary|Compiler crashes with |[4.6/4.7 Regression]
|"internal compiler error: |[C++0x] Compiler crashes
|in perform_member_init, at |with "internal compiler
|cp/init.c:530" |error: in
| |perform_member_init, at
| |cp/init.c:530"
Ever Confirmed|0 |1
Known to fail| |4.6.1, 4.7.0
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-07-07
11:27:31 UTC ---
The code is invalid, to initialize the array you need:
x{Foo(4), Foo(5)}
4.5 correctly rejects it:
b.cc: In constructor 'Goo::Goo()':
b.cc:2:38: error: bad array initializer