This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Structure alignment under AIX 4.3.1
- To: Jacques_Goussard at cimmetry dot com
- Subject: Re: Structure alignment under AIX 4.3.1
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Fri, 21 May 1999 13:56:03 -0400
- Cc: egcs-bugs at egcs dot cygnus dot com
For historical reasons, the PowerOpen AIX ABI only requires word
alignment for doubles while requiring doubleword alignment for 64-bit
integers. If the double is the first field in a struct, the struct is
doubleword aligned although the internal fields are word aligned. It's
just a big, unfortunate mess.
David