]> gcc.gnu.org Git - gcc.git/blobdiff - gcc/cp/pt.c
* pt.c (lookup_template_class_1): Clear elt.spec.
[gcc.git] / gcc / cp / pt.c
index 6bf3d23f2a7a45d15b9ec9521104b14d93f39f92..7ad23341ca2aa82d0e529336f1f4e492c6dcf3ec 100644 (file)
@@ -7876,6 +7876,7 @@ lookup_template_class_1 (tree d1, tree arglist, tree in_decl, tree context,
       /* If we already have this specialization, return it.  */
       elt.tmpl = gen_tmpl;
       elt.args = arglist;
+      elt.spec = NULL_TREE;
       hash = spec_hasher::hash (&elt);
       entry = type_specializations->find_with_hash (&elt, hash);
 
This page took 0.061927 seconds and 5 git commands to generate.