DATA_ALIGNMENT vs. DECL_USER_ALIGNMENT
Robert Dewar
dewar@gnat.com
Thu Apr 10 21:10:00 GMT 2003
> Is it not true in Ada that if something is a particular type, then
> it has the properties (including alignment) of that type?
>
> That sounds like a pretty fundamental part of the idea of 'type', not
> language-specific.
No, that is not the case, if type'alignment is set, then objects of the type
can have that alignment or a greater alignment. The same is true for
type'size.
More information about the Gcc
mailing list