[C++ PATCH] Template parm index fix
authorNathan Sidwell <nathan@acm.org>
Thu, 24 Oct 2019 16:11:42 +0000 (16:11 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 24 Oct 2019 16:11:42 +0000 (16:11 +0000)
commitbdf1426df754be0e2fbf4a1b0f8e09e9bcb45c26
tree6f5460988c75d115c933b1dbe83578a1870feced
parent84d2160d5d1d2fb7bcba2402d20cbfb570b34dbd
[C++ PATCH] Template parm index fix

https://gcc.gnu.org/ml/gcc-patches/2019-10/msg01761.html
* pt.c (reduce_template_parm_level): Attach the new TPI to the new
DECL.
(convert_generic_types_to_packs): Pass the copied type to
reduce_template_parm_level.

From-SVN: r277416
gcc/cp/ChangeLog
gcc/cp/pt.c