[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
Fri Feb 15 18:32:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56135
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> 2013-02-15 18:31:41 UTC ---
Author: jason
Date: Fri Feb 15 18:31:28 2013
New Revision: 196085
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196085
Log:
PR c++/56135
* pt.c (tsubst_copy_and_build): Don't forget any new
captures that arose from use of dependent names.
Added:
branches/gcc-4_7-branch/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-this8.C
Modified:
branches/gcc-4_7-branch/gcc/cp/ChangeLog
branches/gcc-4_7-branch/gcc/cp/pt.c
More information about the Gcc-bugs
mailing list