http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45682

--- Comment #4 from Cary Coutant <ccoutant at gcc dot gnu.org> 2012-01-20 
18:57:49 UTC ---
Author: ccoutant
Date: Fri Jan 20 18:57:44 2012
New Revision: 183348

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183348
Log:
2012-01-19   Cary Coutant  <ccout...@google.com>
         Dodji Seketeli  <do...@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.

Added:
    trunk/gcc/testsuite/g++.dg/debug/dwarf2/nested-3.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2out.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to