r214046 - in /trunk/gcc: cp/ChangeLog cp/lambda...

jason@gcc.gnu.org jason@gcc.gnu.org
Fri Aug 15 21:59:00 GMT 2014


Author: jason
Date: Fri Aug 15 21:59:40 2014
New Revision: 214046

URL: https://gcc.gnu.org/viewcvs?rev=214046&root=gcc&view=rev
Log:
	PR c++/61566
	* pt.c (instantiate_class_template_1): Ignore lambda on
	CLASSTYPE_DECL_LIST.
	(push_template_decl_real): A lambda is not primary.
	(lookup_template_class_1): Don't look for a lambda partial
	instantiation.
	* lambda.c (maybe_add_lambda_conv_op): Distinguish between being
	currently in a function and the lambda living in a function.
	* mangle.c (CLASSTYPE_TEMPLATE_ID_P): False for lambda.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/lambda.c
    trunk/gcc/cp/mangle.c
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-template13.C



More information about the Gcc-cvs mailing list