OSDN Git Service

Fix PR debug/49047
authordodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 May 2011 12:09:06 +0000 (12:09 +0000)
committerdodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 May 2011 12:09:06 +0000 (12:09 +0000)
commit3962e00c61cc12efda893d31cbdec381fce6521b
tree9c47c4f2973048814d4053c3e7690993b6e03ac2
parent89bc37de25347d573e78c20a74feb2d5457efaaf
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174472 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/dwarf2out.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/debug/dwarf2/cdtor-1.C [new file with mode: 0644]