]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR c++/81102 - Wrong error with partial specialization.
authorJason Merrill <jason@redhat.com>
Sat, 17 Jun 2017 02:27:59 +0000 (22:27 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Sat, 17 Jun 2017 02:27:59 +0000 (22:27 -0400)
commit3da557ec145823c3f51ff3fa7c619d0064134800
treea47647c0daf7d0a6e9c7479a928f0e1cfcfb75e6
parent157420b4bd936f18b64d8143a6b3f32f89689412
PR c++/81102 - Wrong error with partial specialization.

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

From-SVN: r249320
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/template/partial-specialization7.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/partial5.C