PR c++/84839 - ICE with decltype of parameter pack.
authorJason Merrill <jason@redhat.com>
Tue, 13 Mar 2018 18:57:10 +0000 (14:57 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 13 Mar 2018 18:57:10 +0000 (14:57 -0400)
commita651578441d84a733aa2f5efc62315a3baccbc0a
treed097e2ff16f6e7a9d3ee9ac0a74e982fbb27d176
parenta7af848991809005fee685e3fe15a39110136f3e
PR c++/84839 - ICE with decltype of parameter pack.

* pt.c (tsubst_pack_expansion): Set cp_unevaluated_operand while
instantiating dummy parms.

From-SVN: r258500
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp0x/variadic-nested2.C [new file with mode: 0644]