Commit 2c331232 by Bernd Schmidt Committed by Bernd Schmidt

re PR rtl-optimization/49900 (ICE in advance_target_bb, at sched-ebb.c:691)

	PR rtl-optimization/49900
	* sched-ebb.c (add_deps_for_risky_insns): Also add dependencies to
	ensure basic blocks stay in the same order.

From-SVN: r177475
parent 44e95206
2011-08-05 Bernd Schmidt <bernds@codesourcery.com>
PR rtl-optimization/49900
* sched-ebb.c (add_deps_for_risky_insns): Also add dependencies to
ensure basic blocks stay in the same order.
2011-08-05 Aldy Hernandez <aldyh@redhat.com>
* config/s390/s390.c (s390_expand_cs_hqi): Add new arguments to
......
......@@ -397,6 +397,9 @@ add_deps_for_risky_insns (rtx head, rtx tail)
bb = BLOCK_FOR_INSN (insn);
bb->aux = last_block;
last_block = bb;
/* Ensure blocks stay in the same order. */
if (last_jump)
add_dependence (insn, last_jump, REG_DEP_ANTI);
last_jump = insn;
}
else if (INSN_P (insn) && last_jump != NULL_RTX)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment