PR c++/79549 - C++17 ICE with non-type auto template parameter pack
commit6757cb00378b7b45e2d26abed9ce58eee9855cca
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Feb 2017 18:42:43 +0000 (17 18:42 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Feb 2017 18:42:43 +0000 (17 18:42 +0000)
tree97498c6d2a37503e994004d5f586097bf392108d
parent5928444edc6e7aa8d23a608b60553e50a5e33027
PR c++/79549 - C++17 ICE with non-type auto template parameter pack

* pt.c (convert_template_argument): Just return an auto arg pack.
(tsubst_template_args): Don't tsubst an auto pack type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@245544 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp1z/nontype-auto8.C [new file with mode: 0644]