This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r196992 - in /branches/gcc-4_8-branch/gcc: cp/C...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sat, 23 Mar 2013 00:48:48 -0000
- Subject: r196992 - in /branches/gcc-4_8-branch/gcc: cp/C...
Author: jason
Date: Sat Mar 23 00:48:48 2013
New Revision: 196992
URL: http://gcc.gnu.org/viewcvs?rev=196992&root=gcc&view=rev
Log:
PR c++/54764
PR c++/55972
* name-lookup.h (tag_scope): Add ts_lambda.
* semantics.c (begin_lambda_type): Use it.
* decl.c (xref_tag_1): Set CLASSTYPE_LAMBDA_EXPR.
* pt.c (check_default_tmpl_args): Ignore lambdas.
(push_template_decl_real): Handle lambdas.
* tree.c (no_linkage_check): Adjust lambda check.
Added:
branches/gcc-4_8-branch/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-defarg4.C
branches/gcc-4_8-branch/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-nsdmi3.C
Modified:
branches/gcc-4_8-branch/gcc/cp/ChangeLog
branches/gcc-4_8-branch/gcc/cp/decl.c
branches/gcc-4_8-branch/gcc/cp/name-lookup.h
branches/gcc-4_8-branch/gcc/cp/pt.c
branches/gcc-4_8-branch/gcc/cp/semantics.c
branches/gcc-4_8-branch/gcc/cp/tree.c