* pt.c (register_specialization): Remove superfluous assertion.
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>
Wed, 22 Jun 2005 22:47:26 +0000 (22:47 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Wed, 22 Jun 2005 22:47:26 +0000 (22:47 +0000)
From-SVN: r101253

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

index 7fbbef0b2ceff8f976dc79fe3805760445ea6eb8..d6fc512481481d175bf04289de012a6d7ea67a6e 100644 (file)
@@ -1,3 +1,7 @@
+2005-06-23  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
+
+       * pt.c (register_specialization): Remove superfluous assertion.
+
 2005-06-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * call.c (convert_like_real): Add format attribute.
index e8112018723f6864a7cba15a79af6e96aa735721..4dbec6dcfeb44138ec8507400f777ac25e7da10c 100644 (file)
@@ -1139,11 +1139,6 @@ register_specialization (tree spec, tree tmpl, tree args)
        instantiation unless and until it is actually needed.  */
     return spec;
 
-  /* There should be as many levels of arguments as there are
-     levels of parameters.  */
-  gcc_assert (TMPL_ARGS_DEPTH (args)
-             == TMPL_PARMS_DEPTH (DECL_TEMPLATE_PARMS (tmpl)));
-
   fn = retrieve_specialization (tmpl, args,
                                /*class_specializations_p=*/false);
   /* We can sometimes try to re-register a specialization that we've