diff options
author | Jeff Law <law@redhat.com> | 2013-11-15 11:14:10 -0700 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2013-11-15 11:14:10 -0700 |
commit | f0d3309e9b5700f73d88c01193eb701a2f4ef985 (patch) | |
tree | bdd5a214189fbc60bda9127ec13d9bae71fff45b /gcc/ifcvt.c | |
parent | cb83df668c629a4db5bfd3e17b6ff947ea0cb501 (diff) | |
download | gcc-f0d3309e9b5700f73d88c01193eb701a2f4ef985.zip gcc-f0d3309e9b5700f73d88c01193eb701a2f4ef985.tar.gz gcc-f0d3309e9b5700f73d88c01193eb701a2f4ef985.tar.bz2 |
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
Diffstat (limited to 'gcc/ifcvt.c')
-rw-r--r-- | gcc/ifcvt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ifcvt.c b/gcc/ifcvt.c index fafff9d..17d26c5 100644 --- a/gcc/ifcvt.c +++ b/gcc/ifcvt.c @@ -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; |