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/dbxout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/dbxout.c') diff --git a/gcc/dbxout.c b/gcc/dbxout.c index b5c5a4ff64f..bb8ca3254c0 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -916,7 +916,7 @@ dbxout_function_end (tree decl ATTRIBUTE_UNUSED) /* By convention, GCC will mark the end of a function with an N_FUN symbol and an empty string. */ - if (flag_reorder_blocks_and_partition) + if (crtl->has_bb_partition) { dbxout_begin_empty_stabs (N_FUN); dbxout_stab_value_label_diff (crtl->subsections.hot_section_end_label, -- cgit v1.2.3