This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/49047] DW_AT_linkage_name missing for constructors and destructors
- From: "dodji at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 31 May 2011 12:11:41 +0000
- Subject: [Bug debug/49047] DW_AT_linkage_name missing for constructors and destructors
- Auto-submitted: auto-generated
- References: <bug-49047-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49047
--- Comment #5 from Dodji Seketeli <dodji at gcc dot gnu.org> 2011-05-31 12:09:10 UTC ---
Author: dodji
Date: Tue May 31 12:09:06 2011
New Revision: 174472
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174472
Log:
Fix PR debug/49047
gcc/
* dwarf2out.c (gen_subprogram_die): Emit linkage name attribute
for concrete functions containing the code of cloned functions.
gcc/testsuite/
* g++.dg/debug/dwarf2/cdtor-1.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/debug/dwarf2/cdtor-1.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/dwarf2out.c
trunk/gcc/testsuite/ChangeLog