aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-manip.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-11-29 17:53:48 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-11-29 17:53:48 +0000
commit62112e35c6368eeb4fe5192d9240958e4c477287 (patch)
treeda2fe01010d192699501790da6990b71dcc5f540 /gcc/tree-ssa-loop-manip.c
parent67bbb1e12241eba7dca619c2984d6abb08214137 (diff)
downloadgcc-62112e35c6368eeb4fe5192d9240958e4c477287.zip
gcc-62112e35c6368eeb4fe5192d9240958e4c477287.tar.gz
gcc-62112e35c6368eeb4fe5192d9240958e4c477287.tar.bz2
tree-if-conv.c (replace_phi_with_cond_modify_expr): Use EDGE_PRED instead of PHI_ARG_EDGE.
* tree-if-conv.c (replace_phi_with_cond_modify_expr): Use EDGE_PRED instead of PHI_ARG_EDGE. * tree-ssa-live.c: Likewise. * tree-ssa-loop-manip.c: Likewise. * tree-ssa.c: Likewise. From-SVN: r91473
Diffstat (limited to 'gcc/tree-ssa-loop-manip.c')
-rw-r--r--gcc/tree-ssa-loop-manip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-loop-manip.c b/gcc/tree-ssa-loop-manip.c
index 01c75c8..fe9c43c 100644
--- a/gcc/tree-ssa-loop-manip.c
+++ b/gcc/tree-ssa-loop-manip.c
@@ -274,7 +274,7 @@ find_uses_to_rename (bitmap *use_blocks)
{
for (phi = phi_nodes (bb); phi; phi = PHI_CHAIN (phi))
for (i = 0; i < (unsigned) PHI_NUM_ARGS (phi); i++)
- find_uses_to_rename_use (PHI_ARG_EDGE (phi, i)->src,
+ find_uses_to_rename_use (EDGE_PRED (bb, i)->src,
PHI_ARG_DEF (phi, i), use_blocks);
for (bsi = bsi_start (bb); !bsi_end_p (bsi); bsi_next (&bsi))