]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/ChangeLog
PR c++/88869 - C++17 ICE with CTAD and explicit specialization.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Feb 2019 02:08:05 +0000 (02:08 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Feb 2019 02:08:05 +0000 (02:08 +0000)
commite2d4b8be24e405e8e789264c3c20767c2a7c7ab4
treea9da6338120e570e260212e3e5db836d65e130bc
parent4f847a8e46036422867a8169d6bfbe45dc6d633d
PR c++/88869 - C++17 ICE with CTAD and explicit specialization.

The members of an explicit specialization of a class template don't have the
template parameters of that class template, so we shouldn't try to provide
arguments for them.  Only set outer_args when the class is an instantiation.

* pt.c (do_class_deduction): Don't include explicit specialization
args in outer_args.

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