* pt.c (register_specialization): Remove superfluous assertion.

From-SVN: r101253
This commit is contained in:
Volker Reichelt 2005-06-22 22:47:26 +00:00 committed by Volker Reichelt
parent bd83e6142d
commit e4227c0fc5
2 changed files with 4 additions and 5 deletions

View 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.

View 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