summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-phiopt.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2005-03-12 14:06:31 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-03-12 14:06:31 +0000
commita1c7f471570fd27235530bbe8d9809c84f4834fd (patch)
treebf2627c2cf74953865fbfd32ab215df6d73ef0b3 /gcc/tree-ssa-phiopt.c
parent84f464e53c50b5cfa7bb4a2c3d99b4c00b0a2e38 (diff)
downloadgcc-a1c7f471570fd27235530bbe8d9809c84f4834fd.tar.gz
tree-ssa-phiopt.c (tree_ssa_phiopt): Remove local variable removed_phis.
* tree-ssa-phiopt.c (tree_ssa_phiopt): Remove local variable removed_phis. From-SVN: r96335
Diffstat (limited to 'gcc/tree-ssa-phiopt.c')
-rw-r--r--gcc/tree-ssa-phiopt.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/tree-ssa-phiopt.c b/gcc/tree-ssa-phiopt.c
index 84f7540aea8..42e3bde8281 100644
--- a/gcc/tree-ssa-phiopt.c
+++ b/gcc/tree-ssa-phiopt.c
@@ -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;
}
}
}