This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/59052] Partial specialization of template with dependent non-type template argument not correctly resolved
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 05 Dec 2013 23:28:28 +0000
- Subject: [Bug c++/59052] Partial specialization of template with dependent non-type template argument not correctly resolved
- Auto-submitted: auto-generated
- References: <bug-59052-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59052
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Dec 5 23:28:25 2013
New Revision: 205723
URL: http://gcc.gnu.org/viewcvs?rev=205723&root=gcc&view=rev
Log:
PR c++/59044
PR c++/59052
* pt.c (most_specialized_class): Use the partially instantiated
template for deduction. Drop the TMPL parameter.
Added:
branches/gcc-4_8-branch/gcc/testsuite/g++.dg/template/partial14.C
Modified:
branches/gcc-4_8-branch/gcc/cp/ChangeLog
branches/gcc-4_8-branch/gcc/cp/pt.c