[Bug c++/61402] [5 Regression][C++1y] Init-capture with side effect not working for some types
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Dec 12 16:43:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61402
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Dec 12 16:43:16 2014
New Revision: 218680
URL: https://gcc.gnu.org/viewcvs?rev=218680&root=gcc&view=rev
Log:
PR c++/61402
* lambda.c (add_capture): Don't pass a dependent type to
variably_modified_type_p.
Added:
trunk/gcc/testsuite/g++.dg/cpp1y/lambda-init11.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/lambda.c
More information about the Gcc-bugs
mailing list