PR c++/86480 - nested variadic lambda and constexpr if.
authorJason Merrill <jason@redhat.com>
Tue, 17 Jul 2018 15:39:46 +0000 (11:39 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 17 Jul 2018 15:39:46 +0000 (11:39 -0400)
commitdd00049ae93c8dd0feba1702be3f2c2ebeb92189
tree2e0af16d30f8792aa1dfb750d65d15b397166a93
parentc3be340eb67fff7ef353d37bd02898f295ea0ef1
PR c++/86480 - nested variadic lambda and constexpr if.

* pt.c (find_parameter_packs_r) [IF_STMT]: Don't walk into
IF_STMT_EXTRA_ARGS.
* tree.c (cp_walk_subtrees) [DECLTYPE_TYPE]: Set
cp_unevaluated_operand.
[ALIGNOF_EXPR] [SIZEOF_EXPR] [NOEXCEPT_EXPR]: Likewise.

From-SVN: r262825
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/cp/tree.c
gcc/testsuite/g++.dg/cpp1z/constexpr-if24.C [new file with mode: 0644]