[Bug c++/67813] [C++14] copy-initialization of object with pointer member fails in constexpr function
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Nov 25 19:56:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67813
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Nov 25 19:56:06 2015
New Revision: 230899
URL: https://gcc.gnu.org/viewcvs?rev=230899&root=gcc&view=rev
Log:
PR c++/67813
* constexpr.c (cxx_eval_store_expression): Always use *valp if
set.
Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp1y/constexpr-copy1.C
Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/constexpr.c
More information about the Gcc-bugs
mailing list