DATA_ALIGNMENT vs. DECL_USER_ALIGNMENT
Robert Dewar
dewar@gnat.com
Thu Apr 10 20:57:00 GMT 2003
> > This means that when compiling the C source that references
> > the variables, I do not know that they are in fact 1-byte
> > aligned. Do you think the backend should be able to cope
> > with even this scenario, or would you consider this a
> > frontend bug?
What does it mean "I do not know that they are in fact 1-byte aligned".
All variables (other than bit fields) are 1-byte aligned.
Part of the trouble here is difference in terminology between Ada and
gcc alignment requirements. This has also caused severe unresolved
difficulties when it comes to maximum alignment values.
More information about the Gcc
mailing list