diff options
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r-- | gcc/dbxout.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c index c645edbeec2..33bbd716b17 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -938,11 +938,14 @@ dbxout_function_end (tree decl) #else if (flag_reorder_blocks_and_partition) { + struct function *cfun = DECL_STRUCT_FUNCTION (decl); + dbxout_begin_empty_stabs (N_FUN); - dbxout_stab_value_label_diff (hot_section_end_label, hot_section_label); + dbxout_stab_value_label_diff (cfun->hot_section_end_label, + cfun->hot_section_label); dbxout_begin_empty_stabs (N_FUN); - dbxout_stab_value_label_diff (cold_section_end_label, - unlikely_section_label); + dbxout_stab_value_label_diff (cfun->cold_section_end_label, + cfun->cold_section_label); } else { |