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++/43856] [C++0x] gcc-4.5.0 fails to transform id-expression into class member access in lambda compound-statement



------- Comment #2 from jason at gcc dot gnu dot org  2010-04-27 21:26 -------
Subject: Bug 43856

Author: jason
Date: Tue Apr 27 21:26:25 2010
New Revision: 158807

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158807
Log:
        PR c++/43856
        * name-lookup.c (qualify_lookup): Disqualify lambda op().
        * class.c (current_nonlambda_class_type): New fn.
        * semantics.c (nonlambda_method_basetype): New.
        * cp-tree.h: Declare them.
        * tree.c (maybe_dummy_object): Handle implicit 'this' capture.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-this2.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/class.c
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/name-lookup.c
    trunk/gcc/cp/semantics.c
    trunk/gcc/cp/tree.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43856


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