r266485 - in /trunk/gcc: ChangeLog dwarf2out.c ...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Mon Nov 26 21:24:00 GMT 2018


Author: jakub
Date: Mon Nov 26 21:24:00 2018
New Revision: 266485

URL: https://gcc.gnu.org/viewcvs?rev=266485&root=gcc&view=rev
Log:
	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:
    trunk/gcc/testsuite/g++.dg/debug/dwarf2/pr86900.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2out.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list