aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2005-03-12 14:11:16 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-03-12 14:11:16 +0000
commit753288495589237db83dc2d3d2c18d44b4f4859e (patch)
tree3303d38ff7811ace4608ce1cebe47d069ba1be52 /gcc
parent8b54274e866b873b4abd788ec76dd6b53fedfcb3 (diff)
downloadgcc-753288495589237db83dc2d3d2c18d44b4f4859e.zip
gcc-753288495589237db83dc2d3d2c18d44b4f4859e.tar.gz
gcc-753288495589237db83dc2d3d2c18d44b4f4859e.tar.bz2
value-prof.c (mod_subtract_transform): Remove local variable value.
* value-prof.c (mod_subtract_transform): Remove local variable value. From-SVN: r96338
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/value-prof.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 55385ec..db7e9fa 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -12,6 +12,9 @@
* tree-vect-transform.c (vect_get_new_vect_var): Remove local
variable prefix_len.
+ * value-prof.c (mod_subtract_transform): Remove local variable
+ value.
+
2005-03-12 Geoffrey Keating <geoffk@apple.com>
* c-lex.c (c_lex_with_flags): Add parameter to call to
diff --git a/gcc/value-prof.c b/gcc/value-prof.c
index c563234..c3a70f9e 100644
--- a/gcc/value-prof.c
+++ b/gcc/value-prof.c
@@ -826,7 +826,7 @@ gen_mod_subtract (enum machine_mode mode, enum rtx_code operation,
static bool
mod_subtract_transform (rtx insn)
{
- rtx set, set_src, set_dest, op1, op2, value, histogram;
+ rtx set, set_src, set_dest, op1, op2, histogram;
enum rtx_code code;
enum machine_mode mode;
gcov_type wrong_values, counts[2], count, all;
@@ -858,7 +858,6 @@ mod_subtract_transform (rtx insn)
return false;
histogram = XEXP (XEXP (histogram, 0), 1);
- value = XEXP (histogram, 0);
histogram = XEXP (histogram, 1);
all = 0;