diff options
author | Richard Henderson <rth@redhat.com> | 2001-12-27 14:19:59 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2001-12-27 14:19:59 -0800 |
commit | df8992f8f3270619b200bd065b3da9de118efc77 (patch) | |
tree | a7f9af2b63f2968b5377756f9c3886f53c2600dd /gcc/sched-ebb.c | |
parent | bb2ae697ab610f10045da76435c9934d06dce608 (diff) | |
download | gcc-df8992f8f3270619b200bd065b3da9de118efc77.tar.gz |
haifa-sched.c (reemit_other_notes): New.
* haifa-sched.c (reemit_other_notes): New.
(schedule_block): Use it.
* sched-ebb.c (schedule_ebbs): Call remove_unnecessary_notes.
* sched-rgn.c (schedule_insns): Likewise.
* cfglayout.c (remove_scope_notes): Handle removing note at
the end of the insn chain.
* function.c (debug_find_var_in_block_tree): New.
* gcc.dg/debug-1.c, gcc.dg/debug-2.c: New.
From-SVN: r48333
Diffstat (limited to 'gcc/sched-ebb.c')
-rw-r--r-- | gcc/sched-ebb.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/sched-ebb.c b/gcc/sched-ebb.c index d4a9f777653..13b9fe6602d 100644 --- a/gcc/sched-ebb.c +++ b/gcc/sched-ebb.c @@ -285,6 +285,10 @@ 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 (); + sched_init (dump_file); current_sched_info = &ebb_sched_info; |