diff options
author | Geoffrey Keating <geoffk@redhat.com> | 2002-06-04 07:11:05 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@redhat.com> | 2002-06-04 07:11:05 +0000 |
commit | 9a3568c5fe1c277a9eab03a3ea566b7337ccfd8a (patch) | |
tree | 720630adca0f6b357e05c4feb8cbe33d556925ce /gcc/cp/repo.c | |
parent | 9bce404194529ae3bc38de62f7caf2eb4038cc8c (diff) |
Merge from pch-branch up to tag pch-commit-20020603.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@54232 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/repo.c')
-rw-r--r-- | gcc/cp/repo.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/cp/repo.c b/gcc/cp/repo.c index fe2eb62601b..6aacebfdd60 100644 --- a/gcc/cp/repo.c +++ b/gcc/cp/repo.c @@ -42,8 +42,8 @@ static void open_repo_file PARAMS ((const char *)); static char *afgets PARAMS ((FILE *)); static void reopen_repo_file_for_write PARAMS ((void)); -static tree pending_repo; -static tree original_repo; +static GTY(()) tree pending_repo; +static GTY(()) tree original_repo; static char *repo_name; static FILE *repo_file; @@ -320,8 +320,6 @@ init_repo (filename) if (! flag_use_repository) return; - ggc_add_tree_root (&pending_repo, 1); - ggc_add_tree_root (&original_repo, 1); gcc_obstack_init (&temporary_obstack); open_repo_file (filename); @@ -458,3 +456,5 @@ finish_repo () if (repo_file) fclose (repo_file); } + +#include "gt-cp-repo.h" |