tree-ssa-phiopt.c (value_replacement): Remove local variable result.
authorKazu Hirata <kazu@cs.umass.edu>
Sun, 13 Mar 2005 15:58:31 +0000 (15:58 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Sun, 13 Mar 2005 15:58:31 +0000 (15:58 +0000)
* tree-ssa-phiopt.c (value_replacement): Remove local variable
result.

From-SVN: r96376

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

index 73e8079ba35ade57f04368a6306951c8e4c6d7b0..1a9614f6334b897706c62463a54910f47952774e 100644 (file)
@@ -28,6 +28,9 @@
        * tree-ssa-live.c (build_tree_conflict_graph): Remove local
        variable ann.
 
+       * tree-ssa-phiopt.c (value_replacement): Remove local variable
+       result.
+
 2005-03-13  Andy Hutchinson  <HutchinsonAndy@netscape.net>
 
        PR target/18251
index 42e3bde82818e7d6a66937a07e18003b06d50751..6943c1732c157df23fac52851a174f073d2b9b0d 100644 (file)
@@ -415,7 +415,6 @@ value_replacement (basic_block cond_bb, basic_block middle_bb,
                   basic_block phi_bb, edge e0, edge e1, tree phi,
                   tree arg0, tree arg1)
 {
-  tree result;
   tree cond;
   edge true_edge, false_edge;
 
@@ -428,7 +427,6 @@ value_replacement (basic_block cond_bb, basic_block middle_bb,
     return false;
 
   cond = COND_EXPR_COND (last_stmt (cond_bb));
-  result = PHI_RESULT (phi);
 
   /* This transformation is only valid for equality comparisons.  */
   if (TREE_CODE (cond) != NE_EXPR && TREE_CODE (cond) != EQ_EXPR)