This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r259240 - in /trunk/gcc: cp/ChangeLog cp/lambda...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 09 Apr 2018 15:32:05 -0000
- Subject: r259240 - in /trunk/gcc: cp/ChangeLog cp/lambda...
Author: jason
Date: Mon Apr 9 15:32:05 2018
New Revision: 259240
URL: https://gcc.gnu.org/viewcvs?rev=259240&root=gcc&view=rev
Log:
PR c++/85256 - ICE capturing pointer to VLA.
* lambda.c (add_capture): Distinguish between variable-size and
variably-modified types.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-vla3.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/lambda.c
trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-vla2.C
trunk/gcc/testsuite/g++.dg/cpp1y/vla7.C
trunk/gcc/testsuite/g++.dg/cpp1y/vla9.C