summaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
authorjsturm <jsturm@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-01 04:47:48 +0000
committerjsturm <jsturm@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-01 04:47:48 +0000
commite9cc3761cfcdd12cc3fa120fd5fc8010e2652440 (patch)
tree0955335da66b170e558fd336ec764dd208e80c37 /gcc/java
parent2f4760c1bc086eb95f731e1d912152da4021c7d5 (diff)
downloadgcc-e9cc3761cfcdd12cc3fa120fd5fc8010e2652440.tar.gz
* java-tree.h (BUILD_FILENAME_IDENTIFIER_NODE):
Use ggc_add_tree_root to register roots. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44530 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java')
-rw-r--r--gcc/java/ChangeLog5
-rw-r--r--gcc/java/java-tree.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index 69f57055162..3c02e8088db 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,8 @@
+2001-08-01 Jeff Sturm <jsturm@one-point.com>
+
+ * java-tree.h (BUILD_FILENAME_IDENTIFIER_NODE):
+ Use ggc_add_tree_root to register roots.
+
2001-07-31 Alexandre Petit-Bianco <apbianco@redhat.com>
* check-init.c (check_init): WITH_CLEANUP_EXPR node to use its
diff --git a/gcc/java/java-tree.h b/gcc/java/java-tree.h
index 0dc49f0535b..73d4af2975d 100644
--- a/gcc/java/java-tree.h
+++ b/gcc/java/java-tree.h
@@ -1459,7 +1459,7 @@ extern tree *type_map;
if (!((F) = maybe_get_identifier ((S)))) \
{ \
(F) = get_identifier ((S)); \
- ggc_mark_tree ((F)); \
+ ggc_add_tree_root (&(F), 1); \
}
/* Add a FIELD_DECL to RECORD_TYPE RTYPE.