Array decomposition fix.
commit6d0c5d85097829ed871a2cfb0a5ee004b9cc13a6
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Jan 2017 15:59:04 +0000 (19 15:59 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Jan 2017 15:59:04 +0000 (19 15:59 +0000)
tree3a9f3941a9e336b00f7aaed2bc0405740119080c
parentcbc2c125ee057ed4d822f15f083a522d939c277a
Array decomposition fix.

* decl.c (check_initializer): Always use build_aggr_init for array
decomposition.

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