diff options
author | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-01-21 17:51:23 +0000 |
---|---|---|
committer | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-01-21 17:51:23 +0000 |
commit | ae3eaa0feb3de05e6b4ad53761fecb892ca27eea (patch) | |
tree | 420ed892f31aad18a6c875db7e5f2e69229fc62a /gcc/haifa-sched.c | |
parent | a956a7a6d275b435d433bd748af54c9742a6cd45 (diff) | |
download | gcc-ae3eaa0feb3de05e6b4ad53761fecb892ca27eea.tar.gz |
PR rtl-optimization/56023
* haifa-sched.c (fix_inter_tick): Do not update ticks of instructions,
dependent on debug instruction.
testsuite/ChangeLog:
PR rtl-optimization/56023
* gcc.dg/pr56023.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195342 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/haifa-sched.c')
-rw-r--r-- | gcc/haifa-sched.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c index f0a4dd5bfc8..c4591bfe35b 100644 --- a/gcc/haifa-sched.c +++ b/gcc/haifa-sched.c @@ -6809,6 +6809,9 @@ fix_inter_tick (rtx head, rtx tail) INSN_TICK (head) = tick; } + if (DEBUG_INSN_P (head)) + continue; + FOR_EACH_DEP (head, SD_LIST_RES_FORW, sd_it, dep) { rtx next; |