* pt.c (instantiate_pending_templates): Reset template level.
authorNathan Sidwell <nathan@codesourcery.com>
Thu, 6 Jul 2000 10:28:36 +0000 (10:28 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 6 Jul 2000 10:28:36 +0000 (10:28 +0000)
From-SVN: r34886

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

index cd6c0d7..6386d66 100644 (file)
@@ -1,3 +1,7 @@
+2000-07-06  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * pt.c (instantiate_pending_templates): Reset template level.
+
 2000-07-05  Jason Merrill  <jason@redhat.com>
 
        * call.c (joust): Don't complain about `operator char *()' beating
index 50fdbf0..9f88761 100644 (file)
@@ -9813,6 +9813,8 @@ instantiate_pending_templates ()
              else 
                t = &TREE_CHAIN (*t);
            }
+         tinst_depth = 0;
+         current_tinst_level = NULL_TREE;
        }
       template_tail = t;