[Bug target/14262] Structure size computed wrong

geoffk at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Apr 9 18:55:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list