[Bug c++/59052] Partial specialization of template with dependent non-type template argument not correctly resolved

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Dec 5 23:28:00 GMT 2013


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



More information about the Gcc-bugs mailing list