PR c++/79549 - C++17 ICE with non-type auto template parameter pack
authorJason Merrill <jason@redhat.com>
Wed, 10 May 2017 15:56:09 +0000 (11:56 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 10 May 2017 15:56:09 +0000 (11:56 -0400)
commit0ea37ae178ba156ec9f88134acc4bb13665c56ef
treeed45be60fa03a16ede91e72e7a2457450d6bdbc3
parent5562ebfc6456b545c500b7d22ea8bceb446fb9fc
PR c++/79549 - C++17 ICE with non-type auto template parameter pack

* pt.c (convert_template_argument): Just return an argument pack.
(coerce_template_parameter_pack, template_parm_to_arg)
(extract_fnparm_pack, make_argument_pack, tsubst_template_args)
(tsubst_decl, tsubst, type_unification_real, unify_pack_expansion):
Don't set the type of a NONTYPE_ARGUMENT_PACK.
* parser.c (make_char_string_pack, make_string_pack): Likewise.

From-SVN: r247842
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/cp/pt.c