aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/haifa-sched.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/haifa-sched.c')
-rw-r--r--gcc-4.9/gcc/haifa-sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc-4.9/gcc/haifa-sched.c b/gcc-4.9/gcc/haifa-sched.c
index 653cb8272..e437e0a42 100644
--- a/gcc-4.9/gcc/haifa-sched.c
+++ b/gcc-4.9/gcc/haifa-sched.c
@@ -6368,7 +6368,7 @@ schedule_block (basic_block *target_bb, state_t init_state)
if (ls.modulo_epilogue)
success = true;
end_schedule:
- if (!ls.first_cycle_insn_p)
+ if (!ls.first_cycle_insn_p || advance)
advance_one_cycle ();
perform_replacements_new_cycle ();
if (modulo_ii > 0)