diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-12 14:06:31 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-12 14:06:31 +0000 |
commit | 220962f007e6068cfc5151e3819467e24be0286e (patch) | |
tree | bf2627c2cf74953865fbfd32ab215df6d73ef0b3 | |
parent | 57e73dcf85a5b61beaa392b0ddc9c4031c5b6fc1 (diff) | |
download | gcc-220962f007e6068cfc5151e3819467e24be0286e.tar.gz |
* tree-ssa-phiopt.c (tree_ssa_phiopt): Remove local variable
removed_phis.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96335 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/tree-ssa-phiopt.c | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a9587d31f53..deaba068c4a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 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; } } } |