aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2005-03-08 03:10:20 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-03-08 03:10:20 +0000
commit58261bc2462eacb994befe7f3e25295b4a5e6eb9 (patch)
tree270b0084502487aa1ff721bfe1bc6c78651997f1
parent2863ddd231e049294f108078f21ef806481b250b (diff)
downloadgcc-58261bc2462eacb994befe7f3e25295b4a5e6eb9.zip
gcc-58261bc2462eacb994befe7f3e25295b4a5e6eb9.tar.gz
gcc-58261bc2462eacb994befe7f3e25295b4a5e6eb9.tar.bz2
tree-ssa-phiopt.c (tree_ssa_phiopt, [...]): Remove unused variable i.
* tree-ssa-phiopt.c (tree_ssa_phiopt, replace_phi_edge_with_variable): Remove unused variable i. From-SVN: r96083
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/tree-ssa-phiopt.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 582d960..a18e5c8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -12,6 +12,9 @@
* modulo-sched.c: Remove unused prototype
set_row_column_for_ps.
+ * tree-ssa-phiopt.c (tree_ssa_phiopt,
+ replace_phi_edge_with_variable): Remove unused variable i.
+
2005-03-07 Per Bothner <per@bothner.com>
* tree.h (DECL_IS_BUILTIN): Reverted my patch from earlier today.
diff --git a/gcc/tree-ssa-phiopt.c b/gcc/tree-ssa-phiopt.c
index 25babae..048211b 100644
--- a/gcc/tree-ssa-phiopt.c
+++ b/gcc/tree-ssa-phiopt.c
@@ -178,7 +178,6 @@ tree_ssa_phiopt (void)
if (phi && PHI_CHAIN (phi) == NULL)
{
tree arg0 = NULL, arg1 = NULL;
- int i;
arg0 = PHI_ARG_DEF_TREE (phi, e1->dest_idx);
arg1 = PHI_ARG_DEF_TREE (phi, e2->dest_idx);
@@ -229,7 +228,6 @@ replace_phi_edge_with_variable (basic_block cond_block, basic_block bb,
edge e, tree phi, tree new)
{
basic_block block_to_remove;
- int i;
block_stmt_iterator bsi;
/* Change the PHI argument to new. */