aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-copy.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-ssa-copy.c')
-rw-r--r--gcc/tree-ssa-copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-copy.c b/gcc/tree-ssa-copy.c
index 0c667da..b526758 100644
--- a/gcc/tree-ssa-copy.c
+++ b/gcc/tree-ssa-copy.c
@@ -155,7 +155,7 @@ set_copy_of_val (tree var, tree val)
copy_of[ver].value = val;
if (old != val
- || (val && !operand_equal_p (old, val, 0)))
+ && (!old || !operand_equal_p (old, val, 0)))
return true;
return false;