diff options
Diffstat (limited to 'gcc/tree-ssa-dom.c')
| -rw-r--r-- | gcc/tree-ssa-dom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-dom.c b/gcc/tree-ssa-dom.c index 6f7c2eb..d99d6a0 100644 --- a/gcc/tree-ssa-dom.c +++ b/gcc/tree-ssa-dom.c @@ -2318,7 +2318,7 @@ propagate_rhs_into_lhs (tree stmt, tree lhs, tree rhs, bitmap interesting_names) The maximum number of times we can re-execute the loop is bounded by the maximum number of times a given SSA_NAME appears in a single statement. */ - if (all && num_imm_uses (lhs) != 0) + if (all && !has_zero_uses (lhs)) goto repeat; /* If we were able to propagate away all uses of LHS, then |
