* tree-sra.c (decide_block_copy): Remove inst_count.
authorKazu Hirata <kazu@cs.umass.edu>
Wed, 9 Mar 2005 11:35:34 +0000 (11:35 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Wed, 9 Mar 2005 11:35:34 +0000 (11:35 +0000)
From-SVN: r96187

gcc/ChangeLog
gcc/tree-sra.c

index 10b0400db73831a2583a8a69542411ed56af4d21..09d217488df3cc910b5041799b8fc12e98181360 100644 (file)
@@ -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
index 267655d4bdfabc328a5e599023ee36fd28c9086a..9b15a87305c60c14595fc831f49d97a025f1014d 100644 (file)
@@ -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;