PR c++/60417
commit79f1f232fbc86a1e261168d5b83ae2abedd9d27d
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 2 Aug 2014 00:52:09 +0000 (2 00:52 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 2 Aug 2014 00:52:09 +0000 (2 00:52 +0000)
tree02b57039678bac4037bf83635219fe9879d8222d
parentb706d31d5106e67275f61d6ef7fd04883022f0f3
PR c++/60417
* init.c (build_vec_init): Set CONSTRUCTOR_IS_DIRECT_INIT on
init-list for trailing elements.
* typeck2.c (process_init_constructor_array): Likewise.

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