On alignment
Andrew Haley
aph@redhat.com
Tue Apr 22 12:37:00 GMT 2003
Nathan Sidwell writes:
> Andrew Haley wrote:
> > WHat I still cannot understand is why a struct that contains a double
> > is 4-aligned on x86, but a double is 8-aligned. This means that you
> > cannot infer the alignment of a struct from the alignment of its
> > members. Is this really part of the multi-vendor ABI?
> That packing rule is part of the i86 psABI
Thanks. Got a link to that?
Andrew.
More information about the Gcc
mailing list