find_partition_fixes: remove unused bbs_in_cold_partition variable
authorIlya Leoshkevich <iii@linux.ibm.com>
Wed, 16 Oct 2019 15:00:38 +0000 (15:00 +0000)
committerIlya Leoshkevich <iii@gcc.gnu.org>
Wed, 16 Oct 2019 15:00:38 +0000 (15:00 +0000)
gcc/ChangeLog:

2019-10-16  Ilya Leoshkevich  <iii@linux.ibm.com>

* cfgrtl.c (find_partition_fixes): Remove bbs_in_cold_partition.

From-SVN: r277070

gcc/ChangeLog
gcc/cfgrtl.c

index 70e51c5e21c8ad8218c3d45d5eaff9756f4a67ec..2424b977a5dd22c1702b8a6d2c22117bacb995e1 100644 (file)
@@ -1,3 +1,7 @@
+2019-10-16  Ilya Leoshkevich  <iii@linux.ibm.com>
+
+       * cfgrtl.c (find_partition_fixes): Remove bbs_in_cold_partition.
+
 2019-10-16  Wilco Dijkstra  <wdijkstr@arm.com>
 
        * config/aarch64/aarch64.c (aarch64_classify_symbol):
index 39fc7aa36bf4e2752f22fd5a527c6efd8e58cd7c..f279d083a6cb5c8e8c0ff7d24ae6821ff8727acd 100644 (file)
@@ -2375,7 +2375,6 @@ static vec<basic_block>
 find_partition_fixes (bool flag_only)
 {
   basic_block bb;
-  vec<basic_block> bbs_in_cold_partition = vNULL;
   vec<basic_block> bbs_to_fix = vNULL;
   hash_set<basic_block> set;
 
@@ -2394,7 +2393,6 @@ find_partition_fixes (bool flag_only)
        else
          BB_SET_PARTITION (bb, BB_COLD_PARTITION);
        bbs_to_fix.safe_push (bb);
-       bbs_in_cold_partition.safe_push (bb);
       }
 
   return bbs_to_fix;