re PR c++/27689 (function template incorrectly selected as candidate)
authorMark Mitchell <mark@codesourcery.com>
Fri, 16 Jun 2006 06:08:49 +0000 (06:08 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 16 Jun 2006 06:08:49 +0000 (06:08 +0000)
commit4e95268d59d17d5d58d60f2067a79a215d65db73
tree2cd5e1744fea5e85f23366a250ecce719577ca85
parent2954333afc6cbb12f5628368b5f557a5730d1242
re PR c++/27689 (function template incorrectly selected as candidate)

PR c++/27689
* cp-tree.h (CLASSTYPE_SPECIALIZATION_OF_PRIMARY_TEMPLATE_P): New
macro.
* pt.c (unify): Use it.
PR c++/27689
* g++.dg/template/ttp18.C: New test.
* g++.dg/template/ttp19.C: Likewise.

From-SVN: r114703
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/ttp18.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/ttp19.C [new file with mode: 0644]