PR c++/57402
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 13 Jul 2013 23:10:24 +0000 (23:10 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 13 Jul 2013 23:10:24 +0000 (23:10 +0000)
commit452fc47aa077722c213191f8f4a51941a8699a1e
tree1dccabcb4f30ae988a32feff076c59c480009784
parent76bbe4ca118d52781c4f64bf3be3fa1ab1fb9b7c
PR c++/57402
* init.c (build_vec_init): Use {} for arrays of class type.
(build_vec_delete): Don't take the address of the array.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200939 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/init.c
gcc/testsuite/g++.dg/cpp0x/defaulted45.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp1y/vla-initlist1.C [new file with mode: 0644]