This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/71391] error on aggregate initialization with side-effects in a constexpr function
- From: "msebor at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 16 Feb 2017 00:27:13 +0000
- Subject: [Bug c++/71391] error on aggregate initialization with side-effects in a constexpr function
- Auto-submitted: auto-generated
- References: <bug-71391-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71391
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |DUPLICATE
Known to fail|7.0 |
--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
This appears to have been fixed in r224381 (gcc 6.0.0):
r224381 | jason | 2015-06-11 11:45:01 -0400 (Thu, 11 Jun 2015) | 3 lines
PR c++/66450
* constexpr.c (cxx_eval_store_expression): Avoid messing up outer
ctx->ctor.
*** This bug has been marked as a duplicate of bug 66450 ***