OSDN Git Service

PR c++/53599
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Jun 2012 15:01:17 +0000 (15:01 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Jun 2012 15:01:17 +0000 (15:01 +0000)
commit736506adb28630dfd0d05a2277cbb1d4ae24d8cc
treed226a48efb92e0f14ba328876bf37a54bc675d85
parent70b55462c88b38412a442b6b48e840396091c738
PR c++/53599
Revert:
PR c++/53137
* pt.c (instantiate_class_template_1): Set LAMBDA_EXPR_THIS_CAPTURE.
(instantiate_decl): Don't push_to_top_level for local class methods.
(instantiate_class_template_1): Or for local classes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@188460 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-template5.C [deleted file]
gcc/testsuite/g++.dg/template/local7.C [new file with mode: 0644]