aboutsummaryrefslogtreecommitdiff
path: root/gcc/sched-deps.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2011-01-25 22:27:51 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2011-01-25 22:27:51 +0000
commit9bdbdcef9a8c9615c7d7ccb69bc5110b3c04a78b (patch)
tree6a6de1f5b3d7fc3e205bef331cb55788bda819b7 /gcc/sched-deps.c
parentb28641995ca556027897488809a2c5e4a4408298 (diff)
downloadgcc-9bdbdcef9a8c9615c7d7ccb69bc5110b3c04a78b.zip
gcc-9bdbdcef9a8c9615c7d7ccb69bc5110b3c04a78b.tar.gz
gcc-9bdbdcef9a8c9615c7d7ccb69bc5110b3c04a78b.tar.bz2
re PR debug/45136 (-fcompare-debug failure with -Os -fschedule-insns)
PR debug/45136 PR debug/45130 * haifa-sched.c (get_ebb_head_tail): Move notes across boundary debug insns. (no_real_insns_p, schedule_block, set_priorities): Drop special treatment of boundary debug insns. * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns. * sched-ebb.c (schedule_ebbs): Don't skip debug insns. * sched-int.h (DEBUG_INSN_SCHED_P): Remove. (BOUNDARY_DEBUG_INSN_P): Likewise. (SCHEDULE_DEBUG_INSN_P): Likewise. * sched-rgn.c (init_ready_list): Drop special treatment of boundary debug insns. * final.c (rest_of_clean-state): Clear notes' BB. From-SVN: r169260
Diffstat (limited to 'gcc/sched-deps.c')
-rw-r--r--gcc/sched-deps.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/sched-deps.c b/gcc/sched-deps.c
index 817d8f9..590f4de 100644
--- a/gcc/sched-deps.c
+++ b/gcc/sched-deps.c
@@ -715,9 +715,6 @@ sd_init_insn (rtx insn)
INSN_FORW_DEPS (insn) = create_deps_list ();
INSN_RESOLVED_FORW_DEPS (insn) = create_deps_list ();
- if (DEBUG_INSN_P (insn))
- DEBUG_INSN_SCHED_P (insn) = TRUE;
-
/* ??? It would be nice to allocate dependency caches here. */
}
@@ -727,12 +724,6 @@ sd_finish_insn (rtx insn)
{
/* ??? It would be nice to deallocate dependency caches here. */
- if (DEBUG_INSN_P (insn))
- {
- gcc_assert (DEBUG_INSN_SCHED_P (insn));
- DEBUG_INSN_SCHED_P (insn) = FALSE;
- }
-
free_deps_list (INSN_HARD_BACK_DEPS (insn));
INSN_HARD_BACK_DEPS (insn) = NULL;