This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Author: jason
Date: Mon Jul 25 19:16:16 2016
New Revision: 238733

URL: https://gcc.gnu.org/viewcvs?rev=238733&root=gcc&view=rev
Log:
	PR c++/71837 - pack expansion in init-capture

	* lambda.c (add_capture): Leave a pack expansion in a TREE_LIST.
	(build_lambda_object): Call build_x_compound_expr_from_list.
	* pt.c (tsubst) [DECLTYPE_TYPE]: Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/lambda-init15.C
    trunk/gcc/testsuite/g++.dg/cpp1y/lambda-init15a.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/lambda.c
    trunk/gcc/cp/pt.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]