diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-03-07 18:44:17 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-03-07 18:44:17 +0000 |
commit | 9b7137595c2b7bb2b3e1cc2293c8483b15a8a683 (patch) | |
tree | 80850b2388b92d6896a75218decd62c239e9b882 /gcc/lists.c | |
parent | 92cfc4a8446d69d215942652390f3e4b7da319fe (diff) | |
download | gcc-9b7137595c2b7bb2b3e1cc2293c8483b15a8a683.tar.gz |
* lists.c (init_EXPR_INSN_LIST_cache): Don't check initialized.
* toplev.c (rest_of_compilation): Call init_EXPR_INSN_LIST_cache ...
(compile_file): ... here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40296 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lists.c')
-rw-r--r-- | gcc/lists.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gcc/lists.c b/gcc/lists.c index b13d171414a..efba26f88b4 100644 --- a/gcc/lists.c +++ b/gcc/lists.c @@ -121,12 +121,7 @@ zap_lists (dummy) void init_EXPR_INSN_LIST_cache () { - static int initialized; - if (!initialized) - { - initialized = 1; - ggc_add_root (&unused_expr_list, 1, 1, zap_lists); - } + ggc_add_root (&unused_expr_list, 1, 1, zap_lists); } /* This function will free up an entire list of EXPR_LIST nodes. */ |