diff options
author | Jakub Jelinek <jakub@redhat.com> | 2017-11-21 08:59:03 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2017-11-21 08:59:03 +0100 |
commit | 8b87e0d12576318e2ae02284e767b4d083cc4149 (patch) | |
tree | cb8105420b51b50135fc21ae493584d22fba72ab /gcc/tree-ssa-threadbackward.c | |
parent | 83087d6521689c6200065537640b953972fbd76b (diff) | |
download | gcc-8b87e0d12576318e2ae02284e767b4d083cc4149.zip gcc-8b87e0d12576318e2ae02284e767b4d083cc4149.tar.gz gcc-8b87e0d12576318e2ae02284e767b4d083cc4149.tar.bz2 |
re PR debug/82718 (Bad DWARF5 .debug_loclists generation)
PR debug/82718
* dwarf2out.c (dw_loc_list): If crtl->has_bb_partition, temporarily
set in_cold_section_p to the partition containing loc_list->first.
When seeing loc_list->last_before_switch node, update secname and
perform range_across_switch second partition handling only after that.
* gcc.dg/debug/dwarf2/pr82718-1.c: New test.
* gcc.dg/debug/dwarf2/pr82718-2.c: New test.
From-SVN: r254989
Diffstat (limited to 'gcc/tree-ssa-threadbackward.c')
0 files changed, 0 insertions, 0 deletions