* c-decl.c (current_function_decl): Move to toplev.c.
authorloewis <loewis@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Feb 2000 23:33:50 +0000 (23:33 +0000)
committerloewis <loewis@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Feb 2000 23:33:50 +0000 (23:33 +0000)
commitd0309f395d8eec464cc87134d3896056b6449110
tree3761b362baeb6739f75a4be6a85810c78908ab10
parent5d326b26ba3421b9e9f5eadf5dc634e4fea0bccd
* c-decl.c (current_function_decl): Move to toplev.c.
(init_decl_processing): Don't add current_function_decl as a ggc
root here.
* dbxout.c (dbxout_symbol): Change return type to int.
(dbxout_symbol_location, dbxout_syms): Likewise.
(dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
any locals. Use current_function_func_begin_label if set.
* dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
* dwarf2out.c (dwarf2out_begin_prologue): Set
current_function_func_begin_label.
* final.c (final_start_function): Reset it.
* toplev.c (current_function_decl): Define it here.
(current_function_func_begin_label): New variable.
(main): Add both as ggc roots.
* tree.h (current_function_func_begin_label): Declare.
* ch/decl.c (current_function_decl): Move to toplev.c.
* cp/decl.c (current_function_decl): Move to toplev.c.
* f/com.c (current_function_decl): Move to toplev.c.
* java/decl.c (current_function_decl): Move to toplev.c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32268 138bc75d-0d04-0410-961f-82ee72b054a4
16 files changed:
gcc/ChangeLog
gcc/c-decl.c
gcc/ch/ChangeLog
gcc/ch/decl.c
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/dbxout.c
gcc/dbxout.h
gcc/dwarf2out.c
gcc/f/ChangeLog
gcc/f/com.c
gcc/final.c
gcc/java/ChangeLog
gcc/java/decl.c
gcc/toplev.c
gcc/tree.h