diff options
| -rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/cp/pt.c | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 7fbbef0b..d6fc512 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -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. diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index e811201..4dbec6d 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -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 |
