From 9b7137595c2b7bb2b3e1cc2293c8483b15a8a683 Mon Sep 17 00:00:00 2001 From: rth Date: Wed, 7 Mar 2001 18:44:17 +0000 Subject: * 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 --- gcc/lists.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'gcc/lists.c') 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. */ -- cgit v1.2.1