aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-11-27 17:26:17 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-11-27 17:26:17 +0000
commitcdef8bc6d1ad756c5b7508168a95351270347b45 (patch)
treea81bbbb8510ca92a7b1d6e2ce2d7db16c619315c /gcc/tree-ssa.c
parent31f16dff98752d15c0f430b8e1e1daa7b682a8f0 (diff)
downloadgcc-cdef8bc6d1ad756c5b7508168a95351270347b45.zip
gcc-cdef8bc6d1ad756c5b7508168a95351270347b45.tar.gz
gcc-cdef8bc6d1ad756c5b7508168a95351270347b45.tar.bz2
tree.c (operand_equal_for_phi_arg_p): New.
* tree.c (operand_equal_for_phi_arg_p): New. * tree.h: Add a prototype for operand_equal_for_phi_arg_p. * tree-cfg.c, tree-ssa-dom.c, tree-ssa-phiopt.c, tree-ssa.c: Replace operand_equal_p with operand_for_phi_arg_p appropriately. From-SVN: r91385
Diffstat (limited to 'gcc/tree-ssa.c')
-rw-r--r--gcc/tree-ssa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa.c b/gcc/tree-ssa.c
index 4aa8b26..adb6a51 100644
--- a/gcc/tree-ssa.c
+++ b/gcc/tree-ssa.c
@@ -1138,7 +1138,7 @@ check_phi_redundancy (tree phi, tree *eq_to)
}
if (val
- && !operand_equal_p (val, def, 0))
+ && !operand_equal_for_phi_arg_p (val, def))
return;
val = def;