diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-12-31 04:19:35 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-12-31 04:19:35 +0000 |
commit | 78587df36f227e25a0b6f6b3fd6aa8577bf9493a (patch) | |
tree | eda556eeb126b284e63a737eeba7cb809f6af60e /gcc/sched-ebb.c | |
parent | 8fe3e36c21771828c7a7b30cae017e32794b291d (diff) | |
download | gcc-78587df36f227e25a0b6f6b3fd6aa8577bf9493a.tar.gz |
* cfglayout.c (scope_def, scope_forest_info, forest,
relate_bbs_with_scopes, make_new_scope, build_scope_forest,
remove_scope_notes, insert_intra_before_1, insert_intra_1,
insert_intra_bb_scope_notes, insert_inter_bb_scope_notes,
rebuild_scope_notes, free_scope_forest_1, dump_scope_forest,
dump_scope_forest_1, get_next_bb_note, get_prev_bb_note): Remove.
(fixup_reorder_chain): Don't set scope for bb.
(insn_scopes, scope_to_insns_initialize, set_block_levels,
change_scope, scope_to_insns_finalize): New.
(cfg_layout_initialize, cfg_layout_finalize): Update to match.
* cfglayout.h (scope_def, scope): Remove.
(reorder_block_def): Remove scope member.
(scope_to_insns_initialize, scope_to_insns_finalize): Declare.
* haifa-sched.c: Revert reemit_other_notes change.
* sched-ebb.c (schedule_ebbs): Don't call remove_unnecessary_notes.
Use scope_to_insns_initialize and scope_to_insns_finalize.
* sched-rgn.c (schedule_insns): Likewise.
* gcc.dg/debug-6.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48412 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sched-ebb.c')
-rw-r--r-- | gcc/sched-ebb.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/sched-ebb.c b/gcc/sched-ebb.c index 13b9fe6602d..31b5f3c19a1 100644 --- a/gcc/sched-ebb.c +++ b/gcc/sched-ebb.c @@ -36,6 +36,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "except.h" #include "toplev.h" #include "recog.h" +#include "cfglayout.h" #include "sched-int.h" /* The number of insns to be scheduled in total. */ @@ -285,9 +286,7 @@ schedule_ebbs (dump_file) if (n_basic_blocks == 0) return; - /* Remove lexical block notes for empty regions. These get shuffled - about during scheduling and confuse the debugging issue. */ - remove_unnecessary_notes (); + scope_to_insns_initialize (); sched_init (dump_file); @@ -357,5 +356,7 @@ schedule_ebbs (dump_file) if (write_symbols != NO_DEBUG) rm_redundant_line_notes (); + scope_to_insns_finalize (); + sched_finish (); } |