aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-if-conv.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-if-conv.c')
-rw-r--r--gcc/tree-if-conv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-if-conv.c b/gcc/tree-if-conv.c
index 4eb5a26..ed3f2f7 100644
--- a/gcc/tree-if-conv.c
+++ b/gcc/tree-if-conv.c
@@ -701,7 +701,7 @@ find_phi_replacement_condition (struct loop *loop,
basic_block tmp_bb;
tmp_bb = first_bb;
first_bb = second_bb;
- second_bb = first_bb;
+ second_bb = tmp_bb;
}
/* Check if FIRST_BB is loop header or not. */