DATA_ALIGNMENT vs. DECL_USER_ALIGNMENT
Richard Henderson
rth@redhat.com
Thu Apr 10 02:27:00 GMT 2003
On Thu, Apr 10, 2003 at 12:40:21AM +0200, Ulrich Weigand wrote:
> However, the problem remains that on s390, the alignment is not
> in fact 'optional' but a hard requirement. (Looking at the
> various implementations of DATA_ALIGNMENT, it seems that mmix
> also needs this to be handled as required, while for the others
> it is indeed optional.)
I think I'd prefer that we somehow generate an error for
alignments that cannot be supported (for some definition
of cannot; I have trouble understanding why labels can't
be byte aligned on a byte-addressable machine).
As is clear from the Irix problem you quote, the user
might have some real need for a particular alignment,
and forcing something on them may break things. At least
this way we'll fail to compile instead of DTWT.
r~
More information about the Gcc
mailing list