aboutsummaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-03-07 10:44:17 -0800
committerRichard Henderson <rth@gcc.gnu.org>2001-03-07 10:44:17 -0800
commit232f749bbc7017ae00943a6ba87ef151276dff3e (patch)
tree80850b2388b92d6896a75218decd62c239e9b882 /gcc/toplev.c
parent542d73aeffbdb33c2cf23d1a232da9d7fe747e92 (diff)
downloadgcc-232f749bbc7017ae00943a6ba87ef151276dff3e.zip
gcc-232f749bbc7017ae00943a6ba87ef151276dff3e.tar.gz
gcc-232f749bbc7017ae00943a6ba87ef151276dff3e.tar.bz2
lists.c (init_EXPR_INSN_LIST_cache): Don't check initialized.
* 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. From-SVN: r40296
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index dd1321c..680820c 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -2171,6 +2171,7 @@ compile_file (name)
init_function_once ();
init_stor_layout_once ();
init_varasm_once ();
+ init_EXPR_INSN_LIST_cache ();
/* The following initialization functions need to generate rtl, so
provide a dummy function context for them. */
@@ -2861,8 +2862,6 @@ rest_of_compilation (decl)
goto exit_rest_of_compilation;
}
- init_EXPR_INSN_LIST_cache ();
-
ggc_collect ();
/* Initialize some variables used by the optimizers. */