This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/66450] [5 Regression][C++11][constexpr] Issues when delegating implicit copy constructor in constexpr function
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 11 Jun 2015 15:45:33 +0000
- Subject: [Bug c++/66450] [5 Regression][C++11][constexpr] Issues when delegating implicit copy constructor in constexpr function
- Auto-submitted: auto-generated
- References: <bug-66450-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66450
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Jun 11 15:45:01 2015
New Revision: 224381
URL: https://gcc.gnu.org/viewcvs?rev=224381&root=gcc&view=rev
Log:
PR c++/66450
* constexpr.c (cxx_eval_store_expression): Avoid messing up outer
ctx->ctor.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-fwctor1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/constexpr.c