]> gcc.gnu.org Git - gcc.git/commitdiff
* pt.c (unify): Handle TEMPLATE_DECL.
authorKriang Lerdsuwanakij <lerdsuwa@scf.usc.edu>
Thu, 19 Feb 1998 09:38:02 +0000 (09:38 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 19 Feb 1998 09:38:02 +0000 (04:38 -0500)
From-SVN: r18117

gcc/cp/ChangeLog
gcc/cp/pt.c

index b12e29e8b4381cee2ab87ca598e0fe2f6b5a39db..0c5fff0538c424bb27619b3f0b17a92f94562e3e 100644 (file)
@@ -1,3 +1,7 @@
+Thu Feb 19 09:37:21 1998  Kriang Lerdsuwanakij  <lerdsuwa@scf.usc.edu>
+
+       * pt.c (unify): Handle TEMPLATE_DECL.
+
 1998-02-18  Brendan Kehoe  <brendan@cygnus.com>
 
        * cp-tree.h (strip_attrs): Remove decl.
index e4fa8bb29b9286da6c996496c8b5ffefdba8a388..c048bd68e9a9d809813b55cba34208fbe2d1f0e6 100644 (file)
@@ -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)]);
This page took 0.083015 seconds and 5 git commands to generate.