aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2003-01-29 02:05:38 +0000
committerFariborz Jahanian <fjahanian@gcc.gnu.org>2003-01-29 02:05:38 +0000
commit13e73b295217aaf0b9c14cbf8cfc8a62ac66f890 (patch)
tree7324e5ab946401758af3d341f99c4b728a905fb4 /gcc
parent0d42c3c26f815206be47e18cf3d7a983ca7efc37 (diff)
downloadgcc-13e73b295217aaf0b9c14cbf8cfc8a62ac66f890.zip
gcc-13e73b295217aaf0b9c14cbf8cfc8a62ac66f890.tar.gz
gcc-13e73b295217aaf0b9c14cbf8cfc8a62ac66f890.tar.bz2
* pt.c (last_pending_template) Declare GTY().
From-SVN: r62062
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/cp/pt.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 89ffb38..0d2502a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2003-01-28 Fariborz Jahanian <fjahanian@apple.com>
+
+ * pt.c (last_pending_template) Declare GTY().
+
2003-01-28 Stan Shebs <shebs@apple.com>
* coretypes.h (cpp_reader): Forward declare struct.
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c
index bbfec14..21d3536 100644
--- a/gcc/cp/pt.c
+++ b/gcc/cp/pt.c
@@ -55,7 +55,7 @@ typedef int (*tree_fn_t) PARAMS ((tree, void*));
(for a function or static data member), or a TYPE (for a class)
indicating what we are hoping to instantiate. */
static GTY(()) tree pending_templates;
-static tree last_pending_template;
+static GTY(()) tree last_pending_template;
int processing_template_parmlist;
static int template_header_count;