aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-sra.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2005-03-09 11:35:34 +0000
committerKazu Hirata <kazu@cs.umass.edu>2005-03-09 11:35:34 +0000
commitd24fa1f9cae0134247f3a6811b8ac1d243d246c9 (patch)
treeb818dbe2a7a2aff55de52cd8ee2309c4ee7093d1 /gcc/tree-sra.c
parentf1fe51ca3800c9cda39271d1ce88fec3c2c6d104 (diff)
* tree-sra.c (decide_block_copy): Remove inst_count.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@96187 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-sra.c')
-rw-r--r--gcc/tree-sra.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/tree-sra.c b/gcc/tree-sra.c
index 267655d4bdf..9b15a87305c 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;