[Bug c++/71972] [6/7 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
Mon Jul 25 18:32:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71972
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Jul 25 18:32:06 2016
New Revision: 238729
URL: https://gcc.gnu.org/viewcvs?rev=238729&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:
trunk/gcc/testsuite/g++.dg/cpp1y/constexpr-array5.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/constexpr.c
More information about the Gcc-bugs
mailing list