aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 593141e..67ef69e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2003-04-15 Geoffrey Keating <geoffk@apple.com>
+
+ * tree.c (next_decl_uid): Mark with GTY.
+ (next_type_uid): Likewise.
+
2003-04-15 J"orn Rennecke <joern.rennecke@superh.com>
PR target/9594:
diff --git a/gcc/tree.c b/gcc/tree.c
index 2d8e12a..09c239e 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -92,9 +92,9 @@ static const char * const tree_node_kind_names[] = {
#endif /* GATHER_STATISTICS */
/* Unique id for next decl created. */
-static int next_decl_uid;
+static GTY(()) int next_decl_uid;
/* Unique id for next type created. */
-static int next_type_uid = 1;
+static GTY(()) int next_type_uid = 1;
/* Since we cannot rehash a type after it is in the table, we have to
keep the hash code. */