* haifa-sched.c (reemit_other_notes): New.
commitbaa8dec7fd2c771ddce19df5bc222614e0d02351
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 27 Dec 2001 22:19:59 +0000 (27 22:19 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 27 Dec 2001 22:19:59 +0000 (27 22:19 +0000)
treea7f9af2b63f2968b5377756f9c3886f53c2600dd
parent5edc4f6599d0b5f0379bed87722f90cd9f94da53
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48333 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cfglayout.c
gcc/function.c
gcc/haifa-sched.c
gcc/sched-ebb.c
gcc/sched-rgn.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/debug-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/debug-2.c [new file with mode: 0644]