[patch] tree-ssa.c: Remove a local variable that is set but not used.
Kazu Hirata
kazu@cs.umass.edu
Sat Mar 12 14:04:00 GMT 2005
Hi,
Attached is a patch to remove a local variable that is set but not
used.
Bootstrapped on i686-pc-linux-gnu. Committed as obvious.
Kazu Hirata
2005-03-12 Kazu Hirata <kazu@cs.umass.edu>
* tree-ssa.c (kill_redundant_phi_nodes): Remove local variable
var.
Index: tree-ssa.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree-ssa.c,v
retrieving revision 2.81
diff -u -d -p -r2.81 tree-ssa.c
--- tree-ssa.c 5 Mar 2005 15:29:25 -0000 2.81
+++ tree-ssa.c 11 Mar 2005 18:51:53 -0000
@@ -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. */
More information about the Gcc-patches
mailing list