From e9cc3761cfcdd12cc3fa120fd5fc8010e2652440 Mon Sep 17 00:00:00 2001 From: jsturm Date: Wed, 1 Aug 2001 04:47:48 +0000 Subject: * 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 --- gcc/java/ChangeLog | 5 +++++ gcc/java/java-tree.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'gcc/java') 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 + + * java-tree.h (BUILD_FILENAME_IDENTIFIER_NODE): + Use ggc_add_tree_root to register roots. + 2001-07-31 Alexandre Petit-Bianco * 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. -- cgit v1.2.1