Message ID | 20191016142640.79432-1-iii@linux.ibm.com |
---|---|
State | New |
Headers | show |
Series | find_partition_fixes: remove unused bbs_in_cold_partition variable | expand |
On 10/16/19 8:26 AM, Ilya Leoshkevich wrote: > Bootstrapped and regtested on x86_64-redhat-linux. > I noticed this while looking into PR92007. > > gcc/ChangeLog: > > 2019-10-16 Ilya Leoshkevich <iii@linux.ibm.com> > > * cfgrtl.c (find_partition_fixes): Remove bbs_in_cold_partition. OK. Thanks, Jeff
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;