summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-dom.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-24 15:29:44 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-24 15:29:44 +0000
commit5f50f9bf0d3d6289cc9f018c505c6aef3f7d55ef (patch)
treecca41b8a8366442ac47dd10d022878d2b139165b /gcc/tree-ssa-dom.c
parent702216e38cf9238940e33e7ab5f46300d6980ede (diff)
downloadgcc-5f50f9bf0d3d6289cc9f018c505c6aef3f7d55ef.tar.gz
* tree-ssa-dom.c (cprop_into_successor_phis): Replace index
with indx. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91169 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-dom.c')
-rw-r--r--gcc/tree-ssa-dom.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/tree-ssa-dom.c b/gcc/tree-ssa-dom.c
index f257d2d9ce3..5af8489fa41 100644
--- a/gcc/tree-ssa-dom.c
+++ b/gcc/tree-ssa-dom.c
@@ -2290,7 +2290,7 @@ cprop_into_successor_phis (basic_block bb, bitmap nonzero_vars)
FOR_EACH_EDGE (e, ei, bb->succs)
{
tree phi;
- int index;
+ int indx;
/* If this is an abnormal edge, then we do not want to copy propagate
into the PHI alternative associated with this edge. */
@@ -2301,7 +2301,7 @@ cprop_into_successor_phis (basic_block bb, bitmap nonzero_vars)
if (! phi)
continue;
- index = e->dest_idx;
+ indx = e->dest_idx;
for ( ; phi; phi = PHI_CHAIN (phi))
{
tree new;
@@ -2310,7 +2310,7 @@ cprop_into_successor_phis (basic_block bb, bitmap nonzero_vars)
/* The alternative may be associated with a constant, so verify
it is an SSA_NAME before doing anything with it. */
- orig_p = PHI_ARG_DEF_PTR (phi, index);
+ orig_p = PHI_ARG_DEF_PTR (phi, indx);
orig = USE_FROM_PTR (orig_p);
if (TREE_CODE (orig) != SSA_NAME)
continue;
@@ -2318,7 +2318,7 @@ cprop_into_successor_phis (basic_block bb, bitmap nonzero_vars)
/* If the alternative is known to have a nonzero value, record
that fact in the PHI node itself for future use. */
if (bitmap_bit_p (nonzero_vars, SSA_NAME_VERSION (orig)))
- PHI_ARG_NONZERO (phi, index) = true;
+ PHI_ARG_NONZERO (phi, indx) = true;
/* If we have *ORIG_P in our constant/copy table, then replace
ORIG_P with its value in our constant/copy table. */