From: Kriang Lerdsuwanakij Date: Thu, 19 Feb 1998 09:38:02 +0000 (+0000) Subject: * pt.c (unify): Handle TEMPLATE_DECL. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=027905b46a074fd0443a6e529f92cbf198ba77b3;p=gcc.git * pt.c (unify): Handle TEMPLATE_DECL. From-SVN: r18117 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index b12e29e8b43..0c5fff0538c 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +Thu Feb 19 09:37:21 1998 Kriang Lerdsuwanakij + + * pt.c (unify): Handle TEMPLATE_DECL. + 1998-02-18 Brendan Kehoe * cp-tree.h (strip_attrs): Remove decl. diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index e4fa8bb29b9..c048bd68e9a 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -5212,6 +5212,10 @@ unify (tparms, targs, ntparms, parm, arg, nsubsts, strict) return 1; return 0; + case TEMPLATE_DECL: + /* Matched cases are handled by the ARG == PARM test above. */ + return 1; + default: sorry ("use of `%s' in template type unification", tree_code_name [(int) TREE_CODE (parm)]);