tree-ssa-phiopt.c (tree_ssa_phiopt): Remove local variable removed_phis.
authorKazu Hirata <kazu@cs.umass.edu>
Sat, 12 Mar 2005 14:06:31 +0000 (14:06 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Sat, 12 Mar 2005 14:06:31 +0000 (14:06 +0000)
* tree-ssa-phiopt.c (tree_ssa_phiopt): Remove local variable
removed_phis.

From-SVN: r96335

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

index a9587d31f534ceb2f34e24093448f035700546d5..deaba068c4af79c1011bc282db1e61ec1a8ac2b5 100644 (file)
@@ -3,6 +3,9 @@
        * tree-ssa.c (kill_redundant_phi_nodes): Remove local variable
        var.
 
+       * tree-ssa-phiopt.c (tree_ssa_phiopt): Remove local variable
+       removed_phis.
+
 2005-03-12  Geoffrey Keating  <geoffk@apple.com>
 
        * c-lex.c (c_lex_with_flags): Add parameter to call to 
index 84f7540aea8dd0cfb3183b9c8a7eecc85145555f..42e3bde82818e7d6a66937a07e18003b06d50751 100644 (file)
@@ -110,7 +110,6 @@ static void
 tree_ssa_phiopt (void)
 {
   basic_block bb;
-  bool removed_phis = false;
 
   /* Search every basic block for COND_EXPR we may be able to optimize
      in reverse order so we can find more.  */
@@ -191,9 +190,6 @@ tree_ssa_phiopt (void)
              || value_replacement (bb, bb1, bb2, e1, e2, phi, arg0, arg1)
              || abs_replacement (bb, bb1, bb2, e1, e2, phi, arg0, arg1))
            {
-             /* We have done the replacement so we need to rebuild the
-                cfg when this pass is complete.  */
-             removed_phis = true;
            }
        }
     }