This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r238729 - in /trunk/gcc: cp/ChangeLog cp/conste...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 25 Jul 2016 18:32:06 -0000
- Subject: r238729 - in /trunk/gcc: cp/ChangeLog cp/conste...
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