From 0b6bc904227e2dae47f178e4d5468931669df197 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Thu, 8 Jun 2017 16:23:43 +0200 Subject: cfgrtl.c (cfg_layout_initialize): Check crtl->has_bb_partition instead of flag_reorder_blocks_and_partition. * cfgrtl.c (cfg_layout_initialize): Check crtl->has_bb_partition instead of flag_reorder_blocks_and_partition. * dbxout.c (dbxout_function_end): Likewise. * dwarf2out.c (gen_subprogram_die): Likewise. * haifa-sched.c (sched_create_recovery_edges): Likewise. * hw-doloop.c (reorg_loops): Likewise. * varasm.c (assemble_start_function, assemble_end_function): Likewise. (decide_function_section): Do not check for flag_reorder_blocks_and_partition. From-SVN: r249017 --- gcc/hw-doloop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/hw-doloop.c') diff --git a/gcc/hw-doloop.c b/gcc/hw-doloop.c index 6190775..09ee6ea 100644 --- a/gcc/hw-doloop.c +++ b/gcc/hw-doloop.c @@ -634,7 +634,7 @@ reorg_loops (bool do_reorder, struct hw_doloop_hooks *hooks) /* We can't enter cfglayout mode anymore if basic block partitioning already happened. */ - if (do_reorder && !flag_reorder_blocks_and_partition) + if (do_reorder && !crtl->has_bb_partition) { reorder_loops (loops); free_loops (loops); -- cgit v1.1