From e49a540c1272d1658df36ab0c5db721ba63d3764 Mon Sep 17 00:00:00 2001 From: Richard Guenther Date: Thu, 11 Sep 2008 21:48:11 +0000 Subject: tree-ssa-uncprop.c (associate_equivalences_with_edges): Avoid entering the weaker equivalence recording. 2008-09-11 Richard Guenther * tree-ssa-uncprop.c (associate_equivalences_with_edges): Avoid entering the weaker equivalence recording. * tree-ssa-phiprop.c (propagate_with_phi): Fix tuplification. From-SVN: r140300 --- gcc/tree-ssa-uncprop.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gcc/tree-ssa-uncprop.c') diff --git a/gcc/tree-ssa-uncprop.c b/gcc/tree-ssa-uncprop.c index 335d7ae..ceaa40d 100644 --- a/gcc/tree-ssa-uncprop.c +++ b/gcc/tree-ssa-uncprop.c @@ -137,11 +137,11 @@ associate_equivalences_with_edges (void) } } - if (TREE_CODE (op0) == SSA_NAME - && !SSA_NAME_OCCURS_IN_ABNORMAL_PHI (op0) - && (is_gimple_min_invariant (op1) - || (TREE_CODE (op1) == SSA_NAME - && !SSA_NAME_OCCURS_IN_ABNORMAL_PHI (op1)))) + else if (TREE_CODE (op0) == SSA_NAME + && !SSA_NAME_OCCURS_IN_ABNORMAL_PHI (op0) + && (is_gimple_min_invariant (op1) + || (TREE_CODE (op1) == SSA_NAME + && !SSA_NAME_OCCURS_IN_ABNORMAL_PHI (op1)))) { /* For IEEE, -0.0 == 0.0, so we don't necessarily know the sign of a variable compared against zero. If -- cgit v1.1