diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-09-06 21:28:22 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-09-06 21:28:22 +0000 |
commit | dc12af010096308df38397ae5f895e02a3ea6037 (patch) | |
tree | 2092d851d6543942e355d2ca28226abc3bbe2721 /gcc/c-tree.h | |
parent | 86f9e2d817933614e94cb566dc1ae2fc72c8c034 (diff) | |
download | gcc-dc12af010096308df38397ae5f895e02a3ea6037.tar.gz |
* Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
(c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
$(out_object_file)): Depend on ggc.h.
* c-common.c: Include "ggc.h".
(combine_strings): If doing GC, use ggc_alloc_string.
* c-decl.c: Include "ggc.h".
(ggc_p): Define with value 0.
(mark_binding_level): New function.
(init_decl_processing): Add GC roots.
(mark_c_function_context): New function.
(lang_mark_false_label_stack): New function.
(lang_mark_tree): New function.
(lang_cleanup_tree): New function.
* c-lang.c: Include "ggc.h".
(lang_init): Call c_parse_init.
* c-lex.c: Include "ggc.h".
(check_linenum): If doing GC, don't copy filenames to permanent
obstack.
* c-parse.in: Include "ggc.h".
(c_parse_init): New function.
* c-tree.h (c_parse_init, mark_c_function_context): Declare.
* objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
* except.c (mark_eh_state): Mark more state.
* function.c (mark_function_state): Likewise.
* ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
(ggc_alloc_string) [GGC_DUMP]: Fix typo.
* toplev.c (mark_file_stack): New function.
(compile_file): If doing GC, use ggc_alloc_string on input filename.
(main): Add root for input_file_stack.
* i386.c: Include "ggc.h".
(ix86_mark_machine_status): New function.
(override_options): Set mark_machine_status.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29143 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-tree.h')
-rw-r--r-- | gcc/c-tree.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/c-tree.h b/gcc/c-tree.h index e11ed7bc4fb..a55785538c6 100644 --- a/gcc/c-tree.h +++ b/gcc/c-tree.h @@ -174,6 +174,9 @@ extern tree maybe_objc_method_name PROTO((tree)); extern int recognize_objc_keyword PROTO((void)); extern tree build_objc_string PROTO((int, const char *)); +/* in c-parse.in */ +extern void c_parse_init PROTO((void)); + /* in c-aux-info.c */ extern void gen_aux_info_record PROTO((tree, int, int, int)); @@ -222,6 +225,7 @@ extern tree lookup_name_current_level_global PROTO((tree)); extern tree maybe_build_cleanup PROTO((tree)); extern void parmlist_tags_warning PROTO((void)); extern void pending_xref_error PROTO((void)); +extern void mark_c_function_context PROTO((struct function *)); extern void push_c_function_context PROTO((struct function *)); extern void pop_c_function_context PROTO((struct function *)); extern void pop_label_level PROTO((void)); |