r238957 - in /trunk/gcc: cp/ChangeLog cp/conste...
jason@gcc.gnu.org
jason@gcc.gnu.org
Mon Aug 1 15:01:00 GMT 2016
Author: jason
Date: Mon Aug 1 15:01:03 2016
New Revision: 238957
URL: https://gcc.gnu.org/viewcvs?rev=238957&root=gcc&view=rev
Log:
PR c++/72766 - ICE with VLA
* constexpr.c (cxx_eval_pointer_plus_expression): Check constancy
of nelts.
* cp-gimplify.c (cp_fully_fold): Only maybe_constant_value in
C++11 and up.
Added:
trunk/gcc/testsuite/g++.dg/ext/vla16.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/constexpr.c
trunk/gcc/cp/cp-gimplify.c
More information about the Gcc-cvs
mailing list