This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]