re PR c++/67813 ([C++14] copy-initialization of object with pointer member fails...
authorJason Merrill <jason@redhat.com>
Fri, 23 Oct 2015 20:57:05 +0000 (16:57 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 23 Oct 2015 20:57:05 +0000 (16:57 -0400)
commit73a842690d16120be06aa3d29f4bd0077375c04a
treeadf1f987ecdc8e9164586c34a2e56490e74012eb
parent0d6be0b10358ca2a8f26b2b9a1b63692731f7fbe
re PR c++/67813 ([C++14] copy-initialization of object with pointer member fails in constexpr function)

PR c++/67813
* constexpr.c (cxx_eval_store_expression): Always use *valp if
set.

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