From 26e7516aa90b62a80f71c6c64040e448587d0e17 Mon Sep 17 00:00:00 2001 From: Ilya Leoshkevich Date: Wed, 16 Oct 2019 15:00:38 +0000 Subject: [PATCH] find_partition_fixes: remove unused bbs_in_cold_partition variable gcc/ChangeLog: 2019-10-16 Ilya Leoshkevich * cfgrtl.c (find_partition_fixes): Remove bbs_in_cold_partition. From-SVN: r277070 --- gcc/ChangeLog | 4 ++++ gcc/cfgrtl.c | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 70e51c5e21c..2424b977a5d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2019-10-16 Ilya Leoshkevich + + * cfgrtl.c (find_partition_fixes): Remove bbs_in_cold_partition. + 2019-10-16 Wilco Dijkstra * config/aarch64/aarch64.c (aarch64_classify_symbol): 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 find_partition_fixes (bool flag_only) { basic_block bb; - vec bbs_in_cold_partition = vNULL; vec bbs_to_fix = vNULL; hash_set 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.30.2