diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-12 14:04:33 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-12 14:04:33 +0000 |
commit | 57e73dcf85a5b61beaa392b0ddc9c4031c5b6fc1 (patch) | |
tree | 05da4c0a10af927828f12ee078446f04d03ea93c /gcc/tree-ssa.c | |
parent | bb1fa6bb7346b75421ab702f475f3a711a02f822 (diff) | |
download | gcc-57e73dcf85a5b61beaa392b0ddc9c4031c5b6fc1.tar.gz |
* tree-ssa.c (kill_redundant_phi_nodes): Remove local variable
var.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96334 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa.c')
-rw-r--r-- | gcc/tree-ssa.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gcc/tree-ssa.c b/gcc/tree-ssa.c index 91e28d6a499..b3fda97f9f4 100644 --- a/gcc/tree-ssa.c +++ b/gcc/tree-ssa.c @@ -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. */ |