On 12-08-08 19:17 , Cary Coutant wrote:
2012-08-07 Cary Coutant <ccout...@google.com>
gcc/
* dwarf2out.c (clone_as_declaration): Copy DW_AT_abstract_origin
attribute.
(generate_skeleton_bottom_up): Remove DW_AT_object_pointer attribute
from original DIE.
(clone_tree_hash): Rename to ...
(clone_tree_partial): ... this; change callers. Copy
DW_TAG_subprogram DIEs as declarations.
gcc/testsuite/
* testsuite/g++.dg/debug/dwarf2/dwarf4-nested.C: New test case.
* testsuite/g++.dg/debug/dwarf2/dwarf4-typedef.C: Add
-fdebug-types-section flag.
OK for google/gcc-4_7. If the trunk review requires substantive
changes, then you can just cherry-pick the subsequent patch later.
Diego.