re PR c++/67104 (Constant expression factory function initializes std::array with...
authorJason Merrill <jason@redhat.com>
Wed, 12 Aug 2015 18:02:43 +0000 (14:02 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 12 Aug 2015 18:02:43 +0000 (14:02 -0400)
commit3b9997bbaf04d8a8588d45f7a8be201bb8358ca9
tree1f01823a3a1f9c9305ce164050ee14d8b4f80a78
parente5e58dbe28b71a17cb2e3e02fdf42d654e6ccd00
re PR c++/67104 (Constant expression factory function initializes std::array with static storage duration strangely)

PR c++/67104
* constexpr.c (cxx_eval_array_reference): Handle sparse
CONSTRUCTORs.

From-SVN: r226830
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/testsuite/g++.dg/cpp1y/constexpr-array1.C [new file with mode: 0644]