diff options
author | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-07-06 10:28:36 +0000 |
---|---|---|
committer | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-07-06 10:28:36 +0000 |
commit | 1120283b9910c98660afccc8cd8da41f9ecfcfb2 (patch) | |
tree | 9715781a5a95c99416894d277f6e9170a30b79b6 /gcc | |
parent | 803f4b2fda71a3522f8815f4ef18af62ed36d428 (diff) | |
download | ppe42-gcc-1120283b9910c98660afccc8cd8da41f9ecfcfb2.tar.gz ppe42-gcc-1120283b9910c98660afccc8cd8da41f9ecfcfb2.zip |
* pt.c (instantiate_pending_templates): Reset template level.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34886 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/pt.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index cd6c0d7724b..6386d66d5a6 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -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 diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index 50fdbf09589..9f88761c21f 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -9813,6 +9813,8 @@ instantiate_pending_templates () else t = &TREE_CHAIN (*t); } + tinst_depth = 0; + current_tinst_level = NULL_TREE; } template_tail = t; |