diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2007-11-25 13:37:12 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2007-11-25 13:37:12 +0000 |
commit | f1c8c7eef7349f0aae539bd1b45875ac5bcbaede (patch) | |
tree | c2f30f08a620652b6703d34c9395cbbceb397f12 /gcc/ada/utils.c | |
parent | 64f6a0efdfa5c03132c45952bd1986a8adc2c19d (diff) | |
download | gcc-f1c8c7eef7349f0aae539bd1b45875ac5bcbaede.zip gcc-f1c8c7eef7349f0aae539bd1b45875ac5bcbaede.tar.gz gcc-f1c8c7eef7349f0aae539bd1b45875ac5bcbaede.tar.bz2 |
decl.c (gnat_to_gnu_entity): If the type has strict alignment...
* decl.c (gnat_to_gnu_entity) <E_Record_Type>: If the type has
strict alignment, no alignment clause and a known static size, cap
the type alignment to the greatest power of 2 factor of the size.
(gnat_to_gnu_field): If the field has a component clause, is aliased
or of a type with strict alignment, require that its size be equal to
that of the type.
(validate_size): Use the type size as the minimum size for a type with
strict alignment.
From-SVN: r130406
Diffstat (limited to 'gcc/ada/utils.c')
0 files changed, 0 insertions, 0 deletions