aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/utils.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2007-11-25 13:37:12 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2007-11-25 13:37:12 +0000
commitf1c8c7eef7349f0aae539bd1b45875ac5bcbaede (patch)
treec2f30f08a620652b6703d34c9395cbbceb397f12 /gcc/ada/utils.c
parent64f6a0efdfa5c03132c45952bd1986a8adc2c19d (diff)
downloadgcc-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