re PR c++/67104 (Constant expression factory function initializes std::array with...
authorJason Merrill <jason@redhat.com>
Mon, 17 Aug 2015 18:42:04 +0000 (14:42 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 17 Aug 2015 18:42:04 +0000 (14:42 -0400)
commitceaaf873e9392ac3f196c400afbc91f70a9dbce2
treeacaa7ee4f2eeb48404725e4f841c018fe9a2ec9f
parentc75ce5301b616b22f1c24f216eed8e84f9074469
re PR c++/67104 (Constant expression factory function initializes std::array with static storage duration strangely)

PR c++/67104
* constexpr.c (array_index_cmp, find_array_ctor_elt): New.
(cxx_eval_array_reference, cxx_eval_store_expression): Use them.

From-SVN: r226949
gcc/cp/ChangeLog
gcc/cp/constexpr.c