PR c++/49216
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Jun 2011 02:24:17 +0000 (02:24 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Jun 2011 02:24:17 +0000 (02:24 +0000)
commit9705da723c9f5e8fb34312d3b1185ef98e11e8fc
tree34baaeacaa4ccbe65ec562c07c7c1a3b6fbf5f48
parent2bbbc3f74c55a9abf4b1f8f74f0357b1c041f0c3
PR c++/49216
* init.c (build_vec_init): Don't try to use a CONSTRUCTOR when
base is a pointer.
* typeck2.c (process_init_constructor_array): Use {} for classes,
too.
* call.c (convert_like_real): Handle substitution failure.

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