This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r267688 - in /branches/gcc-8-branch/gcc: Change...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 08 Jan 2019 09:58:04 -0000
- Subject: r267688 - in /branches/gcc-8-branch/gcc: Change...
Author: jakub
Date: Tue Jan 8 09:58:04 2019
New Revision: 267688
URL: https://gcc.gnu.org/viewcvs?rev=267688&root=gcc&view=rev
Log:
Backported from mainline
2018-11-26 Jakub Jelinek <jakub@redhat.com>
PR c++/86900
* dwarf2out.c (secname_for_decl): For functions with
DECL_SECTION_NAME if in_cold_section_p, try to return
current_function_section's name if it is a named section.
* g++.dg/debug/dwarf2/pr86900.C: New test.
Added:
branches/gcc-8-branch/gcc/testsuite/g++.dg/debug/dwarf2/pr86900.C
Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/dwarf2out.c
branches/gcc-8-branch/gcc/testsuite/ChangeLog