OSDN Git Service

Fix PR debug/46101
authordodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Nov 2010 16:29:05 +0000 (16:29 +0000)
committerdodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Nov 2010 16:29:05 +0000 (16:29 +0000)
commit618cfa34ba86d869a97c1746c3c52cad034ddcf3
tree7f5f6c6394af43677d14579fd0dec0020111c8a3
parenta967a7ec05e82dc5159d0e597ff8759d17950078
Fix PR debug/46101

gcc/
* dwarf2out.c (lookup_type_die_strip_naming_typedef): New
function.
(scope_die_for, gen_type_die_for_member): Replace uses of
lookup_type_die with use of lookup_type_die_strip_naming_typedef.

gcc/testsuite/
* g++.dg/debug/dwarf2/typedef5.C: New test

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