From 03907fbd21a5ba2aba1f92b53f2fb9a1d0293133 Mon Sep 17 00:00:00 2001 From: Geoffrey Keating Date: Tue, 15 Apr 2003 20:48:04 +0000 Subject: [PATCH] tree.c (next_decl_uid): Mark with GTY. * tree.c (next_decl_uid): Mark with GTY. (next_type_uid): Likewise. From-SVN: r65662 --- gcc/ChangeLog | 5 +++++ gcc/tree.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 593141ed259..67ef69e3656 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-04-15 Geoffrey Keating + + * tree.c (next_decl_uid): Mark with GTY. + (next_type_uid): Likewise. + 2003-04-15 J"orn Rennecke PR target/9594: diff --git a/gcc/tree.c b/gcc/tree.c index 2d8e12a8674..09c239e743f 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. */ -- 2.30.2