PR c++/79130 - decomposition and direct-initialization
authorJason Merrill <jason@redhat.com>
Thu, 19 Jan 2017 14:37:51 +0000 (09:37 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 19 Jan 2017 14:37:51 +0000 (09:37 -0500)
commit0655c6d5561026bf5b3749d69cc3f30ea09ff66e
treec4542bd3a072177016e813d586013c4b67e40f3a
parent332429c807f56de7948885368277723a7a5ac0ac
PR c++/79130 - decomposition and direct-initialization

* init.c (build_aggr_init): Communicate direct-initialization to
build_vec_init.
(build_vec_init): Check for array copy sooner.
* parser.c (cp_parser_decomposition_declaration): Remove call to
build_x_compound_expr_from_list.

From-SVN: r244635
gcc/cp/ChangeLog
gcc/cp/init.c
gcc/cp/parser.c
gcc/testsuite/g++.dg/cpp1z/decomp6.C