OSDN Git Service

* dwarf2out.c (modified_type_die): Set DW_AT_GNAT_descriptive_type and
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 29 Feb 2012 18:28:41 +0000 (18:28 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 29 Feb 2012 18:28:41 +0000 (18:28 +0000)
commitffb4f3097dad1d476b0c6d531a5f77146261e104
treed7a052206dec8e0150c21d87cffdc18eb54d0f4e
parent04df78dc71f8fb5861a65c301739b38569f87da4
* dwarf2out.c (modified_type_die): Set DW_AT_GNAT_descriptive_type and
DW_AT_artificial attributes at the end of the processing.
(gen_array_type_die): Likewise.
(gen_enumeration_type_die): Likewise.
(gen_struct_or_union_type_die): Likewise.
(add_gnat_descriptive_type_attribute): Do not suppress debug info for
the parent type.
ada/
* gcc-interface/decl.c (components_to_record): Add ARTIFICIAL parameter
and set TYPE_ARTIFICIAL according to it. ¬†Adjust recursive call.
(gnat_to_gnu_entity) <E_Record_Type>: Adjust call to above function.
* gcc-interface/utils.c (rest_of_record_type_compilation): Do not
invoke rest_of_type_decl_compilation on the parallel type, if any.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184667 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ada/ChangeLog
gcc/ada/gcc-interface/decl.c
gcc/ada/gcc-interface/utils.c
gcc/dwarf2out.c