summaryrefslogtreecommitdiff
path: root/gcc/ifcvt.c
diff options
context:
space:
mode:
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 ecf0f77c39c..db7140a6998 100644
--- a/gcc/ifcvt.c
+++ b/gcc/ifcvt.c
@@ -2769,7 +2769,7 @@ find_if_case_2 (test_bb, then_edge, else_edge)
test_bb->index, else_bb->index);
/* ELSE is small. */
- if (count_bb_insns (then_bb) > BRANCH_COST)
+ if (count_bb_insns (else_bb) > BRANCH_COST)
return FALSE;
/* Registers set are dead, or are predicable. */