diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-19 21:17:09 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-19 21:17:09 +0000 |
commit | b29760a8e6a82c8ddbb584af71ccfdf5a051b96f (patch) | |
tree | 434ba7ff40dd5b0508e6609dc0b744e6680e3656 /gcc/toplev.c | |
parent | 8e41f2ef594f05bbf40d6d7497a93b4b7cf9e3ca (diff) | |
download | gcc-b29760a8e6a82c8ddbb584af71ccfdf5a051b96f.tar.gz |
* Makefile.in (emit-rtl.o, c-decl.o): Depend on debug.h.
(final.o): Don't depend on xcoffout.h, dbxout.h or sdbout.h.
(toplev.o): Don't depend on xcoffout.h.
* c-decl.c: Include debug.h
(duplicate_decls): Use debug hook.
* dbxout.c (dbxout_source_file, dbxout_args): Make static.
(dbx_debug_hooks, xcoff_debug_hooks): Update.
(dbxout_types): Remove.
* dbxout.h (dbxout_source_file, dbxout_types, dbxout_args): Remove.
* debug.c (do_nothing_debug_hooks): Update.
(debug_true_tree, debug_nothing_rtx): New.
* debug.h (struct rtx_def): New.
(struct gcc_debug_hooks): New hooks ignore_block,
outlining_inline_function and label.
(debug_true_tree, debug_nothing_rtx, dwarf2out_frame_init,
dwarf2out_frame_finish): New.
* dwarf2out.c (dwarf2out_ignore_block, dwarf2out_abstract_function):
Make static, update prototype.
(dwarf2_debug_hooks): Update.
* dwarf2out.h (dwarf2out_ignore_block, dwarf2out_abstract_function,
dwarf2out_frame_init, dwarf2out_frame_finish): Remove.
* dwarfout.c (dwarf_debug_hooks): Update.
* emit-rtl.c: Include debug.h.
(remove_unnecessary_notes): Use debug hook.
* final.c: Don't include dbxout.h, xcoffout.h or sdbout.h.
(final_scan_insn): Use debug hook.
* integrate.c (output_inline_function): Use debug hook.
* sdbout.c (sdbout_toplevel_data, sdbout_label): Make static.
(sdb_debug_hooks): Update.
* sdbout.h (sdbout_label, sdbout_toplevel_data): Remove.
* toplev.c: Don't include xcoffout.h.
(note_outlining_of_inline_function, debug_ignore_block): Remove.
* toplev.h (note_outlining_of_inline_function, debug_ignore_block):
Remove.
* tree.h (dwarf2out_do_frame): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44163 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index 0e510b94f50..d2adc92f246 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -79,10 +79,6 @@ Boston, MA 02111-1307, USA. */ #ifdef SDB_DEBUGGING_INFO #include "sdbout.h" #endif - -#ifdef XCOFF_DEBUGGING_INFO -#include "xcoffout.h" -#endif #ifdef VMS /* The extra parameters substantially improve the I/O performance. */ @@ -2590,24 +2586,6 @@ rest_of_type_compilation (type, toplev) timevar_pop (TV_SYMOUT); } -/* FNDECL is an inline function which is about to be emitted out of line. - Do any preparation, such as emitting abstract debug info for the inline - before it gets mangled by optimization. */ - -void -note_outlining_of_inline_function (fndecl) - tree fndecl ATTRIBUTE_UNUSED; -{ -#ifdef DWARF2_DEBUGGING_INFO - /* The DWARF 2 backend tries to reduce debugging bloat by not emitting - the abstract description of inline functions until something tries to - reference them. Force it out now, before optimizations mangle the - block tree. */ - if (write_symbols == DWARF2_DEBUG) - dwarf2out_abstract_function (fndecl); -#endif -} - /* This is called from finish_function (within yyparse) after each top-level definition is parsed. It is supposed to compile that function or variable @@ -5089,27 +5067,3 @@ print_switch_values (file, pos, max, indent, sep, term) fprintf (file, "%s", term); } - -/* Returns nonzero if it is appropriate not to emit any debugging - information for BLOCK, because it doesn't contain any instructions. - This may not be the case for blocks containing nested functions, since - we may actually call such a function even though the BLOCK information - is messed up. */ - -int -debug_ignore_block (block) - tree block ATTRIBUTE_UNUSED; -{ - /* Never delete the BLOCK for the outermost scope - of the function; we can refer to names from - that scope even if the block notes are messed up. */ - if (is_body_block (block)) - return 0; - -#ifdef DWARF2_DEBUGGING_INFO - if (write_symbols == DWARF2_DEBUG) - return dwarf2out_ignore_block (block); -#endif - - return 1; -} |