aboutsummaryrefslogtreecommitdiff
path: root/gcc/ChangeLog
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2017-11-21 08:59:03 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2017-11-21 08:59:03 +0100
commit8b87e0d12576318e2ae02284e767b4d083cc4149 (patch)
treecb8105420b51b50135fc21ae493584d22fba72ab /gcc/ChangeLog
parent83087d6521689c6200065537640b953972fbd76b (diff)
downloadgcc-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/ChangeLog')
-rw-r--r--gcc/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1c3aaed..207e6f3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,11 @@
2017-11-21 Jakub Jelinek <jakub@redhat.com>
+ 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.
+
PR debug/82933
* run-rtl-passes.c: Include debug.h.
(run_rtl_passes): Call debug_hooks->assembly_start.