Bootstrapped and regtested on x86_64-redhat-linux.
I noticed this while looking into PR92007.

gcc/ChangeLog:

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

        * cfgrtl.c (find_partition_fixes): Remove bbs_in_cold_partition.
---
 gcc/cfgrtl.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c
index 39fc7aa36bf..f279d083a6c 100644
--- a/gcc/cfgrtl.c
+++ b/gcc/cfgrtl.c
@@ -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;
-- 
2.23.0

Reply via email to