Commit f0d3309e by Jeff Law Committed by Jeff Law

ifcvt.c (find_cond_trap): Properly handle case where trap_bb == else_bb.

	* ifcvt.c (find_cond_trap): Properly handle case where
	trap_bb == else_bb.

From-SVN: r204856
parent cb83df66
2013-11-15 Jeff Law <law@redhat.com>
* ifcvt.c (find_cond_trap): Properly handle case where
trap_bb == else_bb.
2013-11-15 Andreas Schwab <schwab@linux-m68k.org> 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
* configure: Regenerate. * configure: Regenerate.
...@@ -3694,7 +3694,7 @@ find_cond_trap (basic_block test_bb, edge then_edge, edge else_edge) ...@@ -3694,7 +3694,7 @@ find_cond_trap (basic_block test_bb, edge then_edge, edge else_edge)
/* Wire together the blocks again. */ /* Wire together the blocks again. */
if (current_ir_type () == IR_RTL_CFGLAYOUT) if (current_ir_type () == IR_RTL_CFGLAYOUT)
single_succ_edge (test_bb)->flags |= EDGE_FALLTHRU; single_succ_edge (test_bb)->flags |= EDGE_FALLTHRU;
else else if (trap_bb == then_bb)
{ {
rtx lab, newjump; rtx lab, newjump;
......
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