[Bug c++/60463] Lambda function can call a non-const member function with const this
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Sep 22 19:22:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60463
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Sep 22 19:22:11 2014
New Revision: 215478
URL: https://gcc.gnu.org/viewcvs?rev=215478&root=gcc&view=rev
Log:
PR c++/63320
PR c++/60463
PR c++/60755
* lambda.c (maybe_resolve_dummy, lambda_expr_this_capture): Handle
not finding 'this'.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-this19.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/lambda.c
trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice3.C
More information about the Gcc-bugs
mailing list