diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2005-03-09 11:35:34 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2005-03-09 11:35:34 +0000 |
commit | dc3fcf39b437f7c016f9055c45780a1eaf4f8869 (patch) | |
tree | b818dbe2a7a2aff55de52cd8ee2309c4ee7093d1 /gcc | |
parent | df0159b7aad3b3738e6663566e4b223cc8a1be7e (diff) | |
download | gcc-dc3fcf39b437f7c016f9055c45780a1eaf4f8869.zip gcc-dc3fcf39b437f7c016f9055c45780a1eaf4f8869.tar.gz gcc-dc3fcf39b437f7c016f9055c45780a1eaf4f8869.tar.bz2 |
* tree-sra.c (decide_block_copy): Remove inst_count.
From-SVN: r96187
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/tree-sra.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 10b0400..09d2174 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -28,6 +28,8 @@ * tree-outof-ssa.c (num_nodes): Remove num_nodes. + * tree-sra.c (decide_block_copy): Remove inst_count. + 2005-03-08 Jeff Law <law@redhat.com> * tree-cfg.c (cleanup_control_flow): If removal of a computed diff --git a/gcc/tree-sra.c b/gcc/tree-sra.c index 267655d..9b15a87 100644 --- a/gcc/tree-sra.c +++ b/gcc/tree-sra.c @@ -1322,7 +1322,6 @@ decide_block_copy (struct sra_elt *elt) else if (host_integerp (size_tree, 1)) { unsigned HOST_WIDE_INT full_size, inst_size = 0; - unsigned int inst_count; unsigned int max_size; /* If the sra-max-structure-size parameter is 0, then the @@ -1346,7 +1345,7 @@ decide_block_copy (struct sra_elt *elt) use_block_copy = false; else { - inst_count = sum_instantiated_sizes (elt, &inst_size); + sum_instantiated_sizes (elt, &inst_size); if (inst_size * 100 >= full_size * SRA_FIELD_STRUCTURE_RATIO) use_block_copy = false; |