PR c++/67631 - list-init and explicit conversions
authorJason Merrill <jason@redhat.com>
Fri, 18 Nov 2016 20:27:26 +0000 (15:27 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 18 Nov 2016 20:27:26 +0000 (15:27 -0500)
commit0bdc4c1ce9470d4b5b926d2d62ba3ed243775d9e
tree837c21bf7df1740ab0829786038fea473fddd46a
parent1b2e03037f077958d56a85e5465595e314160872
PR c++/67631 - list-init and explicit conversions

* semantics.c (finish_compound_literal): Call digest_init_flags.
* typeck2.c (digest_init_flags): Add complain parm.
(store_init_value): Pass it.

From-SVN: r242603
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/semantics.c
gcc/cp/typeck2.c
gcc/testsuite/g++.dg/cpp0x/initlist-explicit1.C [new file with mode: 0644]