[Bug c++/60252] [4.7/4.8/4.9 Regression] [c++11] ICE with invalid variable-length array in lambda parameter
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 21 14:57:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60252
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Feb 21 14:56:31 2014
New Revision: 207999
URL: http://gcc.gnu.org/viewcvs?rev=207999&root=gcc&view=rev
Log:
PR c++/60252
* lambda.c (maybe_resolve_dummy): Don't try to capture this
in declaration context.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice11.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/lambda.c
More information about the Gcc-bugs
mailing list