aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgcleanup.c
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2013-05-15 14:14:15 +0000
committerTeresa Johnson <tejohnson@gcc.gnu.org>2013-05-15 14:14:15 +0000
commitaf205f678d2d6ac9043daa70c4caefdd76cd65bc (patch)
treefa7f8529c4634be7caa170a0bcfcd4fd08a639c8 /gcc/cfgcleanup.c
parent9adcfa3c1f4f3194b50c893f06bb52f1058aebe8 (diff)
downloadgcc-af205f678d2d6ac9043daa70c4caefdd76cd65bc.zip
gcc-af205f678d2d6ac9043daa70c4caefdd76cd65bc.tar.gz
gcc-af205f678d2d6ac9043daa70c4caefdd76cd65bc.tar.bz2
function.h (has_bb_partition): New rtl_data flag.
2013-05-15 Teresa Johnson <tejohnson@google.com> * function.h (has_bb_partition): New rtl_data flag. (bb_reorder_complete): Ditto. * cfgcleanup.c (try_crossjump_to_edge): Check for has_bb_partition instead of flag_reorder_blocks_and_partition. * cfgrtl.c (verify_hot_cold_block_grouping): Moved from bb-reorder.c, with some enhancements. (rtl_verify_flow_info_1): Call verify_hot_cold_block_grouping. * bb-reorder.c (connect_traces): Check for has_bb_partition instead of flag_reorder_blocks_and_partition. (verify_hot_cold_block_grouping): Moved to cfgrtl.c. (reorder_basic_blocks): Set bb_reorder_complete flag, remove call to verify_hot_cold_block_grouping. (partition_hot_cold_basic_blocks): Set has_bb_partition. From-SVN: r198934
Diffstat (limited to 'gcc/cfgcleanup.c')
-rw-r--r--gcc/cfgcleanup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cfgcleanup.c b/gcc/cfgcleanup.c
index 7764c6c..1379cf7 100644
--- a/gcc/cfgcleanup.c
+++ b/gcc/cfgcleanup.c
@@ -1864,7 +1864,7 @@ try_crossjump_to_edge (int mode, edge e1, edge e2,
partition boundaries). See the comments at the top of
bb-reorder.c:partition_hot_cold_basic_blocks for complete details. */
- if (flag_reorder_blocks_and_partition && reload_completed)
+ if (crtl->has_bb_partition && reload_completed)
return false;
/* Search backward through forwarder blocks. We don't need to worry