diff options
Diffstat (limited to 'gcc/tree-if-conv.c')
-rw-r--r-- | gcc/tree-if-conv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/tree-if-conv.c b/gcc/tree-if-conv.c index a9fbab9..72e808e 100644 --- a/gcc/tree-if-conv.c +++ b/gcc/tree-if-conv.c @@ -267,9 +267,9 @@ ifc_temp_var (tree type, tree expr, gimple_stmt_iterator *gsi) static inline bool is_false_predicate (tree cond) { - return (cond == NULL_TREE - || cond == boolean_false_node - || integer_zerop (cond)); + return (cond != NULL_TREE + && (cond == boolean_false_node + || integer_zerop (cond))); } /* Return true when COND is a true predicate. */ |