https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79549
--- Comment #10 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Wed May 10 15:56:09 2017 New Revision: 247842 URL: https://gcc.gnu.org/viewcvs?rev=247842&root=gcc&view=rev Log: 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. Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/parser.c trunk/gcc/cp/pt.c