]> gcc.gnu.org Git - gcc.git/commit
re PR debug/45682 (missing namespace parent die when using -gdwarf-4)
authorCary Coutant <ccoutant@google.com>
Fri, 20 Jan 2012 18:57:44 +0000 (18:57 +0000)
committerCary Coutant <ccoutant@gcc.gnu.org>
Fri, 20 Jan 2012 18:57:44 +0000 (10:57 -0800)
commit2d663cb94cae4396a78299c7da834eb7251a3079
treea728935b214ebc80d08066255befec2feae7a476
parentb968b19221d537229241171266b682e5827c51d7
re PR debug/45682 (missing namespace parent die when using -gdwarf-4)

2012-01-19   Cary Coutant  <ccoutant@google.com>
     Dodji Seketeli  <dodji@redhat.com>

gcc/

PR debug/45682
* dwarf2out.c (copy_declaration_context): Return ref to parent
of declaration DIE, if necessary.
(remove_child_or_replace_with_skeleton): Add new parameter; update
caller.  Place skeleton DIE under parent DIE of original declaration.
Move call to copy_declaration_context to here ...
(break_out_comdat_types): ... from here.

gcc/testsuite/

PR debug/45682
* g++.dg/debug/dwarf2/nested-3.C: New test.

Co-Authored-By: Dodji Seketeli <dodji@redhat.com>
From-SVN: r183348
gcc/ChangeLog
gcc/dwarf2out.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/debug/dwarf2/nested-3.C [new file with mode: 0644]
This page took 0.058525 seconds and 5 git commands to generate.