[Bug c++/56135] [c++11] this incorrectly captured as null in template member function
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 13 17:56:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56135
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2013-02-13 17:56:11 UTC ---
Author: jason
Date: Wed Feb 13 17:56:05 2013
New Revision: 196021
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196021
Log:
PR c++/56135
* pt.c (tsubst_copy_and_build): Don't forget any new
captures that arose from use of dependent names.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-this8.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
More information about the Gcc-bugs
mailing list