aboutsummaryrefslogtreecommitdiff
path: root/gcc/ifcvt.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2013-11-15 11:14:10 -0700
committerJeff Law <law@gcc.gnu.org>2013-11-15 11:14:10 -0700
commitf0d3309e9b5700f73d88c01193eb701a2f4ef985 (patch)
treebdd5a214189fbc60bda9127ec13d9bae71fff45b /gcc/ifcvt.c
parentcb83df668c629a4db5bfd3e17b6ff947ea0cb501 (diff)
downloadgcc-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.c2
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;