diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2005-03-12 14:04:33 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@cs.umass.edu> | 2005-03-12 14:04:33 +0000 |
commit | 017e764c2557c3780c394f4177114d54256e21ef (patch) | |
tree | 05da4c0a10af927828f12ee078446f04d03ea93c /gcc/tree-ssa.c | |
parent | e624e9ba544126ae3e8a2ef8aa21e7d9ae28c48d (diff) |
* tree-ssa.c (kill_redundant_phi_nodes): Remove local variable
var.
git-svn-id: https://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. */ |