This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/14262] Structure size computed wrong
- From: "geoffk at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Apr 2004 18:55:04 -0000
- Subject: [Bug target/14262] Structure size computed wrong
- References: <20040223201435.14262.rbh00@utsglobal.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From geoffk at gcc dot gnu dot org 2004-04-09 18:55 -------
The documentation of the Darwin ABI is in <file:///Developer/Documentation/DeveloperTools/
Conceptual/MachORuntime/2rt_powerpc_abi/index.html> on your system if you've installed the
documentation. (It's probably available under www.apple.com somewhere, too, but I don't know
where.)
It says that:
- Values on the stack are aligned the same way as values aligned in registers.
- Structures and arrays get padded to the *left*, that is a 3-byte structure should be preceded by a byte
of padding
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14262