This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [google/gcc-4_7] Fix problems with -fdebug-types-section and local types


On 12-08-08 19:17 , Cary Coutant wrote:

2012-08-07 Cary Coutant <ccoutant@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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]