[Bug c++/53619] [4.8 regression] [C++11] wrong capture of "this" in lambda in case of multiple inheritance
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jul 3 05:04:00 GMT 2012
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
More information about the Gcc-bugs
mailing list