PR c++/79549 - C++17 ICE with non-type auto template parameter pack
commitf0ee28255394c95e57e760226f517822835d297d
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 May 2017 15:56:09 +0000 (10 15:56 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 May 2017 15:56:09 +0000 (10 15:56 +0000)
treeed45be60fa03a16ede91e72e7a2457450d6bdbc3
parent16f6148814538f9e475a3f440cfa7e144688f88e
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@247842 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/cp/pt.c