summaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-11-27 22:31:34 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-11-27 22:31:34 +0000
commit78c551ad15a1d280f5f6ac71f60a78b87b856496 (patch)
tree3c52b3d011b38afeffe23926fc3afa478dd62aa8 /gcc/toplev.c
parent691b0a39ab31115e163f824d42657a831aacc500 (diff)
downloadgcc-78c551ad15a1d280f5f6ac71f60a78b87b856496.tar.gz
* cpphash.c (_cpp_init_hashtable): Update.
* cpphash.h (struct spec_nodes): Remove n_L. * cpplex.c (_cpp_lex_direct): Check for prefix L separately. * Makefile.in: Update, and add c-objc-common.o dependencies. * c-lang.c: Remove unnecessary includes. (c_init): Move bulk of code to c_objc_common_init, and call it. (c_tree_printer, c_missing_noreturn_ok_p, c_disregard_inline_limits, inline_forbidden_p, c_cannot_inline_tree_fn): Move to c-objc-common.c. * c-objc-common.c: New. Mostly pulled from c-lang.c. * c-tree.h (c_disregard_inline_limits, c_cannot_inline_fn, c_objc_common_init, c_missing_noreturn_ok_p): New. * toplev.c: Update comment. * doc/passes.texi: Update. * objc/ojbc-act.c (LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN, LANG_HOOKS_TREE_INLINING_DISREGARD_INLINE_LIMITS, LANG_HOOKS_TREE_INLINING_ANON_AGGR_TYPE_P): Override. (objc_init): Update to use c_objc_common_init. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47388 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index e0e8a963144..e2c2e25996c 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -4988,10 +4988,7 @@ lang_independent_init ()
= ((lang_hooks.identifier_size - sizeof (struct tree_common))
/ sizeof (tree));
- /* Initialize the garbage-collector, and string pools. FIXME: We
- should do this later, in independent_init () when we know we
- actually want to compile something, but cpplib currently wants to
- use the hash table immediately in cpp_create_reader. */
+ /* Initialize the garbage-collector, and string pools. */
init_ggc ();
ggc_add_rtx_root (&stack_limit_rtx, 1);
ggc_add_tree_root (&current_function_decl, 1);