https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81102

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Sat Jun 17 02:34:08 2017
New Revision: 249332

URL: https://gcc.gnu.org/viewcvs?rev=249332&root=gcc&view=rev
Log:
        PR c++/81102 - Wrong error with partial specialization.

        * pt.c (unify) [TEMPLATE_PARM_INDEX]: Strip reference when comparing
        types.  Do type deduction later.

Added:
   
branches/gcc-7-branch/gcc/testsuite/g++.dg/template/partial-specialization7.C
Modified:
    branches/gcc-7-branch/gcc/cp/ChangeLog
    branches/gcc-7-branch/gcc/cp/pt.c
    branches/gcc-7-branch/gcc/testsuite/g++.dg/template/partial5.C

Reply via email to