r255950 - in /trunk/gcc: cp/ChangeLog cp/parser...

nathan@gcc.gnu.org nathan@gcc.gnu.org
Thu Dec 21 19:16:00 GMT 2017


Author: nathan
Date: Thu Dec 21 19:16:01 2017
New Revision: 255950

URL: https://gcc.gnu.org/viewcvs?rev=255950&root=gcc&view=rev
Log:
[PR c++/83406] deducing lambda type

https://gcc.gnu.org/ml/gcc-patches/2017-12/msg01432.html
	PR c++/83406
	* parser.c (cp_parser_lambda_body): Remove obsolete
	single-return-statement handling.

	PR c++/83406
	* g++.dg/cpp0x/lambda/lambda-ice15.C: Adjust error.
	* g++.dg/cpp1y/pr83406.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/pr83406.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice15.C



More information about the Gcc-cvs mailing list