This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r259043 - in /trunk/gcc: cp/ChangeLog cp/cp-tre...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 03 Apr 2018 17:41:12 -0000
- Subject: 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