r236410 - in /branches/gcc-5-branch/gcc: cp/Cha...
jason@gcc.gnu.org
jason@gcc.gnu.org
Wed May 18 15:59:00 GMT 2016
Author: jason
Date: Wed May 18 15:59:13 2016
New Revision: 236410
URL: https://gcc.gnu.org/viewcvs?rev=236410&root=gcc&view=rev
Log:
PR c++/70494 - lambda capture of array
* decl.c (cxx_maybe_build_cleanup): Handle non-decls.
* typeck2.c (split_nonconstant_init_1): Use it.
Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-array2.C
Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/decl.c
branches/gcc-5-branch/gcc/cp/typeck2.c
More information about the Gcc-cvs
mailing list