diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2006-04-26 10:29:02 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2006-04-26 10:29:02 +0000 |
commit | 444704336a95b02933a3bdf50c51ae556d2dd274 (patch) | |
tree | 1d9b7c87fc935e1dcde98570de0617cc6800098f /gcc | |
parent | 91b6c26dd2ca4426cb9dfa6faa83a984cd76bfe9 (diff) | |
download | gcc-444704336a95b02933a3bdf50c51ae556d2dd274.zip gcc-444704336a95b02933a3bdf50c51ae556d2dd274.tar.gz gcc-444704336a95b02933a3bdf50c51ae556d2dd274.tar.bz2 |
* tree-ssa-dse.c (dse_optimize_stmt): Remove unused variable USE.
From-SVN: r113274
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/tree-ssa-dse.c | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 591ca4b..44cc5b9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2006-04-26 Aldy Hernandez <aldyh@redhat.com> + + * tree-ssa-dse.c (dse_optimize_stmt): Remove unused variable USE. + 2006-04-26 Jakub Jelinek <jakub@redhat.com> PR c/26171 diff --git a/gcc/tree-ssa-dse.c b/gcc/tree-ssa-dse.c index 85be469..fe67015 100644 --- a/gcc/tree-ssa-dse.c +++ b/gcc/tree-ssa-dse.c @@ -249,7 +249,7 @@ dse_optimize_stmt (struct dom_walk_data *walk_data, { use_operand_p first_use_p = NULL_USE_OPERAND_P; use_operand_p use_p = NULL; - tree use, use_stmt, temp; + tree use_stmt, temp; tree defvar = NULL_TREE, usevar = NULL_TREE; bool fail = false; use_operand_p var2; @@ -279,7 +279,6 @@ dse_optimize_stmt (struct dom_walk_data *walk_data, single_imm_use (defvar, &use_p, &temp); gcc_assert (use_p != NULL_USE_OPERAND_P); first_use_p = use_p; - use = USE_FROM_PTR (use_p); /* If the immediate use of DEF_VAR is not the same as the previously find immediate uses, then we will not be able @@ -320,8 +319,7 @@ dse_optimize_stmt (struct dom_walk_data *walk_data, /* Skip past this PHI and loop again in case we had a PHI chain. */ - if (single_imm_use (PHI_RESULT (use_stmt), &use_p, &use_stmt)) - use = USE_FROM_PTR (use_p); + single_imm_use (PHI_RESULT (use_stmt), &use_p, &use_stmt); } /* If we have precisely one immediate use at this point, then we may |