OSDN Git Service

* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Use
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Jun 2009 12:52:13 +0000 (12:52 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Jun 2009 12:52:13 +0000 (12:52 +0000)
commitec4d7c0c5c60f321a049d7a6e40cfd704646f06b
tree999afe73f28b590fbcd4b25c94a1ce18d342beb5
parente62a9fe51945ba553bccd4de3eb2c9556a48815a
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Use
a reference to the original type for the type of the field of the
XVS type.
(maybe_pad_type): Likewise.

* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: Factor
common predicate and remove redundant setting of TYPE_BY_REFERENCE_P.
Pass correctly typed arguments to create_field_decl.
<E_Record_Subtype>: Set BLKmode for tagged and limited types in the
case of contrained discriminants as well.  Use the padded base type
in the other case as well.  Rename temporary variable.  Tweak test.
Factor common access pattern.  Set GNU_SIZE only once.

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