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
This commit is contained in:
Jeff Law 2013-11-15 11:14:10 -07:00 committed by Jeff Law
parent cb83df668c
commit f0d3309e9b
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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>
* configure: Regenerate.

View File

@ -3694,7 +3694,7 @@ find_cond_trap (basic_block test_bb, edge then_edge, edge else_edge)
/* Wire together the blocks again. */
if (current_ir_type () == IR_RTL_CFGLAYOUT)
single_succ_edge (test_bb)->flags |= EDGE_FALLTHRU;
else
else if (trap_bb == then_bb)
{
rtx lab, newjump;