OSDN Git Service

Fix for PR debug/41170
authordodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 27 Aug 2009 07:05:24 +0000 (07:05 +0000)
committerdodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 27 Aug 2009 07:05:24 +0000 (07:05 +0000)
commit8c5b0c2b1bd816d3629294eacf1b6e624988e1ac
tree64a74d89344e23c148800c250e8ad2dd351db5da
parent102c8ea9da98f72fac0dba21f9591f911de39f18
Fix for PR debug/41170

gcc/ChangeLog:
PR debug/41770
* dwarf2out.c (get_context_die): Declare this static function.
(gen_type_die_with_usage): Make sure a DIE is a generated for
the context of a typedef.

gcc/testsuite/ChangeLog:
PR debug/41770
* debug/dwarf2/namespace-1.C: New test.

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