tree-ssa-dom.c (cprop_into_successor_phis): Replace index with indx.
authorKazu Hirata <kazu@cs.umass.edu>
Wed, 24 Nov 2004 15:29:44 +0000 (15:29 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Wed, 24 Nov 2004 15:29:44 +0000 (15:29 +0000)
* tree-ssa-dom.c (cprop_into_successor_phis): Replace index
with indx.

From-SVN: r91169

gcc/ChangeLog
gcc/tree-ssa-dom.c

index a17df97c521c1bd4bf0371e8ac3dfdf665016edc..706aa92438e719341f857d27867250560d3c1bca 100644 (file)
@@ -11,6 +11,9 @@
        find the index of a PHI argument.  Use e->dest_idx instead.
        Replace hint with index.
 
+       * tree-ssa-dom.c (cprop_into_successor_phis): Replace index
+       with indx.
+
 2004-11-24  Diego Novillo  <dnovillo@redhat.com>
 
        * tree-ssa-alias.c (merge_pointed_to_info): Fix comment
index f257d2d9ce3723c0de1dbb1f83c4efc5c05b4d5c..5af8489fa41855cf66db302fe6f4929dce5f1e10 100644 (file)
@@ -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.  */