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++/53619] [4.8 regression] [C++11] wrong capture of "this" in lambda in case of multiple inheritance


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

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> 2012-07-03 05:03:45 UTC ---
Author: jason
Date: Tue Jul  3 05:03:34 2012
New Revision: 189191

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189191
Log:
    PR c++/53619
    * pt.c (in_template_function): New.
    * cp-tree.h: Declare it.
    * class.c (build_base_path, resolves_to_fixed_type_p): Use it.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-this5.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/class.c
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog


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