DR 1518 DR 1630 PR c++/54835 PR c++/60417
authorJason Merrill <jason@redhat.com>
Wed, 6 May 2015 02:07:34 +0000 (22:07 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 6 May 2015 02:07:34 +0000 (22:07 -0400)
commitb8dd691344db6be88a843242d1686e7266de631b
tree409cfc7b3a2f6dac9696531b7f57aeb84e497086
parent99573e81e88654e318c1e07419f36fb6d50caac9
DR 1518 DR 1630 PR c++/54835 PR c++/60417

DR 1518
DR 1630
PR c++/54835
PR c++/60417
* call.c (convert_like_real): Check value-initialization before
explicit.
* typeck2.c (process_init_constructor_record): Don't set
CONSTRUCTOR_IS_DIRECT_INIT.
(process_init_constructor_array): Likewise.
* init.c (build_vec_init): Likewise.

From-SVN: r222836
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/init.c
gcc/cp/typeck2.c
gcc/testsuite/g++.dg/cpp0x/initlist-dr1518.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/initlist40.C