aboutsummaryrefslogtreecommitdiff
path: root/gcc/ggc-callbacks.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2000-10-01 19:19:30 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2000-10-01 19:19:30 +0000
commitf15b9af9843e58e7c03df81098a8a15646f5058e (patch)
tree0d6ccc526e9f4b851ecc829d656097c5b7e9c8f8 /gcc/ggc-callbacks.c
parent51296ba047eb7f4f266f97d7a26748dc108f7fd5 (diff)
downloadgcc-f15b9af9843e58e7c03df81098a8a15646f5058e.zip
gcc-f15b9af9843e58e7c03df81098a8a15646f5058e.tar.gz
gcc-f15b9af9843e58e7c03df81098a8a15646f5058e.tar.bz2
c-decl.c (c_expand_body): Don't generate RTL if flag_syntax_only.
* c-decl.c (c_expand_body): Don't generate RTL if flag_syntax_only. (lang_mark_false_label_stack): Remove. * c-lex.c (init_c_lex): Add file_info_tree as GC root. Allocate <top level> string in GC area. (mark_splay_tree_node): New function. (mark_splay_tree): Likewise. * except.c (mark_eh_status): Only call lang_mark_false_label_stack if it exists. * ggc-callbacks.c (lang_mark_false_label_stack): Remove. * ggc-common.c (lang_mark_false_label_stack): Change type. * ggc.h (ggc_alloc_string): Add comment. (ggc_strdup): New function. * decl.c (lang_mark_false_label_stack): Remove. * lex.c (cp_mang_lang_type): Use ggc_alloc_cleared. * com.c (lang_mark_false_label_stack): Remove. Convert to GC. * Make-lang.in (s-java): Don't depend on ggc-callbacks.o. * Makefile.in (BACKEND): Don't include ggc-callbacks.o. (typeck.o): Depend on ggc.h. * class.c (add_method_1): Use GC functions for allocation. (init_class_processing): Register roots. * decl.c (ggc_p): Set to 1. (pending_local_decls): Make it static. (push_jvm_slot): Use GC functions for allocation. (init_decl_processing): Register roots. (give_name_to_locals): Use GC functions for allocation. (lang_mark_tree): New function. * java-tree.h (MAYBE_CREATE_TYPE_TYPE_LANG_SPECIFIC): Use GC functions for allocation. * jcf-parse.c (jcf_parse_source): Use ggc_strdup. * lex.c (java_lex): Use build_string, rather than replicating it inline. * parse.y (goal): Add more roots. (mark_parser_ctxt): New function. * typeck.c: Include ggc.h. * splay-tree.c (splay_tree_insert): Fix formatting. From-SVN: r36687
Diffstat (limited to 'gcc/ggc-callbacks.c')
-rw-r--r--gcc/ggc-callbacks.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/gcc/ggc-callbacks.c b/gcc/ggc-callbacks.c
index c56e13e..b53af55 100644
--- a/gcc/ggc-callbacks.c
+++ b/gcc/ggc-callbacks.c
@@ -1,5 +1,5 @@
/* Empty GC callbacks to be used by languages that don't support GC.
- Copyright (C) 1999 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2000 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -36,11 +36,3 @@ lang_mark_tree (t)
abort ();
}
-void ATTRIBUTE_NORETURN
-lang_mark_false_label_stack (l)
- struct label_node *l ATTRIBUTE_UNUSED;
-{
- /* If this function is called, we are doing GC. But, this file is
- only included in compilers for languages that don't support GC. */
- abort ();
-}