This is the mail archive of the gcc-bugs@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]

[Bug debug/49047] DW_AT_linkage_name missing for constructors and destructors


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


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