ada-tree.h (DECL_BY_COMPONENT_PTR_P): Use DECL_LANG_FLAG_3.
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 15 Apr 2008 07:18:21 +0000 (07:18 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 15 Apr 2008 07:18:21 +0000 (07:18 +0000)
commit29f4754ff005a8b53f2f4341093bf1e800aad4ce
tree0c68173537cdf9a84c8102d91ef9ec47541a5d8b
parent55d7d0fa979fee55901c9ed8a65fd59461b70840
ada-tree.h (DECL_BY_COMPONENT_PTR_P): Use DECL_LANG_FLAG_3.

* ada-tree.h (DECL_BY_COMPONENT_PTR_P): Use DECL_LANG_FLAG_3.
* decl.c (gnat_to_gnu_entity) <object>: Call maybe_pad_type only
if a size or alignment is specified.  Do not take into account
alignment promotions for the computation of the object's size.
<type>: Call maybe_pad_type only if a size or alignment is specified.
(maybe_pad_type): Really reuse the RM_Size of the original type if
requested.
* trans.c (Attribute_to_gnu): Fix a couple of nits.
* utils2.c (build_binary_op) <MODIFY_EXPR>: Merge related conditional
statements.  Use the padded view of the type when copying between
padded objects of the same underlying type.

From-SVN: r134310
gcc/ada/ChangeLog
gcc/ada/ada-tree.h
gcc/ada/decl.c
gcc/ada/trans.c
gcc/ada/utils2.c