OSDN Git Service

* tree-ssa.c (kill_redundant_phi_nodes): Remove local variable
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 12 Mar 2005 14:04:33 +0000 (14:04 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 12 Mar 2005 14:04:33 +0000 (14:04 +0000)
var.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96334 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tree-ssa.c

index b22a17e..a9587d3 100644 (file)
@@ -1,3 +1,8 @@
+2005-03-12  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-ssa.c (kill_redundant_phi_nodes): Remove local variable
+       var.
+
 2005-03-12  Geoffrey Keating  <geoffk@apple.com>
 
        * c-lex.c (c_lex_with_flags): Add parameter to call to 
index 91e28d6..b3fda97 100644 (file)
@@ -1239,7 +1239,7 @@ kill_redundant_phi_nodes (void)
   tree *eq_to;
   unsigned i, old_num_ssa_names;
   basic_block bb;
-  tree phi, var, repl, stmt;
+  tree phi, repl, stmt;
 
   /* The EQ_TO[VER] holds the value by that the ssa name VER should be
      replaced.  If EQ_TO[VER] is ssa name and it is decided to replace it by
@@ -1261,10 +1261,7 @@ kill_redundant_phi_nodes (void)
   FOR_EACH_BB (bb)
     {
       for (phi = phi_nodes (bb); phi; phi = PHI_CHAIN (phi))
-       {
-         var = PHI_RESULT (phi);
-         check_phi_redundancy (phi, eq_to);
-       }
+       check_phi_redundancy (phi, eq_to);
     }
 
   /* Now propagate the values.  */