size_clause3.ads
1.28 KB
-
decl.c (gnat_to_gnu_entity): If the type has strict alignment... · f1c8c7ee
* 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
Eric Botcazou committed