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]

r259043 - in /trunk/gcc: cp/ChangeLog cp/cp-tre...


Author: jason
Date: Tue Apr  3 17:41:12 2018
New Revision: 259043

URL: https://gcc.gnu.org/viewcvs?rev=259043&root=gcc&view=rev
Log:
	PR c++/85149 - generic lambda and constexpr if.

	* pt.c (build_extra_args, add_extra_args): Split from
	tsubst_pack_expansion.
	(tsubst_expr) [IF_STMT]: Use them.
	* cp-tree.h (IF_STMT_EXTRA_ARGS): New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1z/constexpr-if17.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-tree.h
    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]