On alignment
Jason Merrill
jason@redhat.com
Tue Apr 22 16:22:00 GMT 2003
On Tue, 22 Apr 2003 13:37:43 +0100, Andrew Haley <aph@redhat.com> wrote:
> Robert Dewar writes:
> > > That packing rule is part of the i86 psABI
> >
> > It's still mighty odd, and of course in Ada you have to override this rule
> > since it conflicts with the Ada standard, which requires that the default
> > minimum alignment of a composite be not less than the alignment of any
> > component.
>
> It's pretty weird in C++.
It's the same in C. Weird or not, that's what the SVR4 psABI says, so
that's what we do.
Jason
More information about the Gcc
mailing list