[Bug c++/71972] [6 Regression] ICE with "-std=c++14" on x86_64-linux-gnu (internal compiler error: Segmentation fault, cxx_eval_store_expression)
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Aug 13 23:54:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71972
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Sat Aug 13 23:53:28 2016
New Revision: 239448
URL: https://gcc.gnu.org/viewcvs?rev=239448&root=gcc&view=rev
Log:
PR c++/71972 - constexpr array self-modification
* constexpr.c (cxx_eval_array_reference): Handle looking for the
value of an element we're currently modifying.
Added:
branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp1y/constexpr-array5.C
Modified:
branches/gcc-6-branch/gcc/cp/ChangeLog
branches/gcc-6-branch/gcc/cp/constexpr.c
More information about the Gcc-bugs
mailing list