[Bug c++/45418] [C++0x] can't initialize array of non-trivial type with brace-init
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed May 25 15:29:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45418
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-05-25 15:26:37 UTC ---
Author: jason
Date: Wed May 25 15:26:33 2011
New Revision: 174209
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174209
Log:
PR c++/45418
* init.c (perform_member_init): Handle list-initialization
of array of non-trivial class type.
Added:
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/initlist50.C
Modified:
branches/gcc-4_6-branch/gcc/cp/ChangeLog
branches/gcc-4_6-branch/gcc/cp/init.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list