diff options
Diffstat (limited to 'gcc/gimple-loop-versioning.cc')
-rw-r--r-- | gcc/gimple-loop-versioning.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/gimple-loop-versioning.cc b/gcc/gimple-loop-versioning.cc index 3175a1e..5838ce7 100644 --- a/gcc/gimple-loop-versioning.cc +++ b/gcc/gimple-loop-versioning.cc @@ -1681,7 +1681,8 @@ loop_versioning::version_loop (class loop *loop) /* Convert the condition into a suitable gcond. */ gimple_seq stmts = NULL; - cond = force_gimple_operand_1 (cond, &stmts, is_gimple_condexpr, NULL_TREE); + cond = force_gimple_operand_1 (cond, &stmts, is_gimple_condexpr_for_cond, + NULL_TREE); /* Version the loop. */ initialize_original_copy_tables (); |