re PR c++/67550 (Initialization of local struct array with elements of global array...
authorJason Merrill <jason@redhat.com>
Thu, 17 Dec 2015 16:51:58 +0000 (11:51 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 17 Dec 2015 16:51:58 +0000 (11:51 -0500)
commit62f9ab0d432554c33c8d9c449ebcae73b2789812
treeb55fb9c537147784b7269f2632c45749fbbd1aa7
parent6ef15591e356a69b0a573c207d5a254124dbad0e
re PR c++/67550 (Initialization of local struct array with elements of global array yields zeros instead of initializer values)

PR c++/67550

* init.c (constant_value_1): Don't return a CONSTRUCTOR missing
non-constant elements.

From-SVN: r231777
gcc/cp/ChangeLog
gcc/cp/init.c
gcc/testsuite/g++.dg/init/aggr13.C [new file with mode: 0644]