PR c++/93286 - ICE with __is_constructible and variadic template.
authorJason Merrill <jason@redhat.com>
Fri, 15 May 2020 18:06:48 +0000 (14:06 -0400)
committerJason Merrill <jason@redhat.com>
Fri, 15 May 2020 18:06:57 +0000 (14:06 -0400)
commitcda6396a1b6e6bba2a3b0847931567c3458f2184
tree0886bfbae0e65f66cf1fa84dae41a69a1e0a11d1
parent4c1a5d8b71e29b71e0bc1004480c12c5fc427cb7
PR c++/93286 - ICE with __is_constructible and variadic template.

My GCC 10 patch for 93286 fixed the missing piece in tsubst's handling of
lists vs. that in tsubst_copy_and_build, but it would be better to share the
code between them.

gcc/cp/ChangeLog
2020-05-15  Jason Merrill  <jason@redhat.com>

PR c++/93286 - ICE with __is_constructible and variadic template.
* pt.c (tsubst_tree_list): New.
(tsubst, tsubst_copy_and_build): Use it.
* decl2.c (is_late_template_attribute): Handle error_mark_node args.
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl2.c
gcc/cp/pt.c