This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/63320] [5 Regression] bogus âthisâ was not captured for this lambda function error


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63320

--- Comment #2 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]