re PR c++/69995 ([C++14] Invalid result when evaluating constexpr function)
authorJason Merrill <jason@redhat.com>
Mon, 29 Feb 2016 14:25:57 +0000 (09:25 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 29 Feb 2016 14:25:57 +0000 (09:25 -0500)
commit7574c916aeb5e7f5dfdf0302138e02f1a83cfaba
tree6ad3af10a204a96d688eaf14bc5c07cdef306bfb
parentcbd400b43e4068a886b7297e4da8599732ef6813
re PR c++/69995 ([C++14] Invalid result when evaluating constexpr function)

PR c++/69995
* constexpr.c (cxx_eval_store_expression): Unshare init.

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