diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2017-06-08 16:23:43 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2017-06-08 14:23:43 +0000 |
commit | 0b6bc904227e2dae47f178e4d5468931669df197 (patch) | |
tree | e7bbda0646d5e5eead946cd91b6a15bf7a0e2862 /gcc/dwarf2out.c | |
parent | 1ac644c8d04230fd1be85de1b102a819c11c87bd (diff) | |
download | gcc-0b6bc904227e2dae47f178e4d5468931669df197.zip gcc-0b6bc904227e2dae47f178e4d5468931669df197.tar.gz gcc-0b6bc904227e2dae47f178e4d5468931669df197.tar.bz2 |
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
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r-- | gcc/dwarf2out.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index ff1293f..2a27ad5 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -22152,7 +22152,7 @@ gen_subprogram_die (tree decl, dw_die_ref context_die) struct function *fun = DECL_STRUCT_FUNCTION (decl); - if (!flag_reorder_blocks_and_partition) + if (!crtl->has_bb_partition) { dw_fde_ref fde = fun->fde; if (fde->dw_fde_begin) @@ -26472,7 +26472,7 @@ set_cur_line_info_table (section *sec) { const char *end_label; - if (flag_reorder_blocks_and_partition) + if (crtl->has_bb_partition) { if (in_cold_section_p) end_label = crtl->subsections.cold_section_end_label; @@ -26514,7 +26514,7 @@ dwarf2out_begin_function (tree fun) if (sec != text_section) have_multiple_function_sections = true; - if (flag_reorder_blocks_and_partition && !cold_text_section) + if (crtl->has_bb_partition && !cold_text_section) { gcc_assert (current_function_decl == fun); cold_text_section = unlikely_text_section (); |