diff options
Diffstat (limited to 'gcc/cp/pt.c')
-rw-r--r-- | gcc/cp/pt.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index b62a9bc..d66c1bf 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -6723,10 +6723,9 @@ lookup_template_class (tree d1, /* Note this use of the partial instantiation so we can check it later in maybe_process_partial_specialization. */ - if (use_partial_inst_tmpl) - DECL_TEMPLATE_INSTANTIATIONS (templ) - = tree_cons (arglist, t, - DECL_TEMPLATE_INSTANTIATIONS (templ)); + DECL_TEMPLATE_INSTANTIATIONS (templ) + = tree_cons (arglist, t, + DECL_TEMPLATE_INSTANTIATIONS (templ)); if (TREE_CODE (t) == ENUMERAL_TYPE && !is_dependent_type) /* Now that the type has been registered on the instantiations |