diff options
author | Richard Henderson <rth@cygnus.com> | 1999-09-04 20:49:52 -0700 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 1999-09-05 03:49:52 +0000 |
commit | d7db66465081020447daa7e7feec774440d00f96 (patch) | |
tree | 2c396fe4710d0e39b742d734bf2a7abf16783c92 /gcc/expr.h | |
parent | b224278904bb35e3aa54856b124e53fd3c0b3065 (diff) | |
download | gcc-d7db66465081020447daa7e7feec774440d00f96.zip gcc-d7db66465081020447daa7e7feec774440d00f96.tar.gz gcc-d7db66465081020447daa7e7feec774440d00f96.tar.bz2 |
Makefile.in (stor-layout.o): Depend on ggc.h.
* Makefile.in (stor-layout.o): Depend on ggc.h.
(expr.o): Depend on ggc.h.
(profile.o): Depend on ggc.h.
(stor-layout.o): Depend on ggc.h.
* emit-rtl.c (init_emit_once): Add gc roots.
* expr.c: Include ggc.h.
(emit_block_move): Add gc roots.
(clear_storage): Likewise.
* expr.h (init_stor_layout_once): New function.
* profile.c: Include ggc.h.
(init_arc_profiler): profiler_label is a root.
* scan.c (make_sstring_space): Trust xrealloc to function
correctly with first parameter NULL.
* stor-layout.c: Include ggc.h.
(set_sizetype): Add gc root.
(init_stor_layout_once): New function.
* toplev.c (compile_file): Call it.
Co-Authored-By: Bernd Schmidt <bernds@cygnus.co.uk>
Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
From-SVN: r29122
Diffstat (limited to 'gcc/expr.h')
-rw-r--r-- | gcc/expr.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -878,6 +878,10 @@ extern void init_expr_once PROTO((void)); /* This is run at the start of compiling a function. */ extern void init_expr PROTO((void)); +/* This function is run once to initialize stor-layout.c. */ + +extern void init_stor_layout_once PROTO((void)); + /* This is run at the end of compiling a function. */ extern void finish_expr_for_function PROTO((void)); |