re PR c++/63320 (bogus ‘this’ was not captured for this lambda function error)
authorJason Merrill <jason@redhat.com>
Mon, 22 Sep 2014 19:22:11 +0000 (15:22 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 22 Sep 2014 19:22:11 +0000 (15:22 -0400)
commita546927c6a9a06b25ae85f8206b2c7afc53f4a45
treec400f29d211f1ef321ecdd015d159c8337af81b3
parent05424ee6ec0d20b028649cce108ed442863f1063
re PR c++/63320 (bogus ‘this’ was not captured for this lambda function error)

PR c++/63320
PR c++/60463
PR c++/60755
* lambda.c (maybe_resolve_dummy, lambda_expr_this_capture): Handle
not finding 'this'.

From-SVN: r215478
gcc/cp/ChangeLog
gcc/cp/lambda.c
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice3.C
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-this19.C [new file with mode: 0644]