re PR c++/49216 ([C++0x] ICE on compiling new-expression with braced-init-list for...
authorJason Merrill <jason@redhat.com>
Wed, 29 Jun 2011 22:28:15 +0000 (18:28 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 29 Jun 2011 22:28:15 +0000 (18:28 -0400)
commit1f65a8c8e53a20b50839fe6ca09043de315b2014
tree5735c7861fd9ae6619f6ade9d38dd97ad3226922
parent417ae187142e16f8c697d68495614ca07e947636
re PR c++/49216 ([C++0x] ICE on compiling new-expression with braced-init-list for arrays)

PR c++/49216
* init.c (build_new_1): Pass {} down to build_vec_init.
(build_vec_init): Handle it.

From-SVN: r175674
gcc/cp/ChangeLog
gcc/cp/init.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/initlist-value.C
gcc/testsuite/g++.dg/cpp0x/initlist53.C
gcc/testsuite/g++.old-deja/g++.ext/arrnew2.C