[Bug target/14262] Structure size computed wrong

dalej at apple dot com gcc-bugzilla@gcc.gnu.org
Wed May 26 14:15:00 GMT 2004


------- Additional Comments From dalej at apple dot com  2004-05-25 23:31 -------
We have a consensus here that the Apple ABI documentation is wrong, and the existing compilers 
(which all agree with each other) are correct.  The actual behavior is weirder than anybody here 
realized:  structs TWO bytes and shorter are right-justified, structs 3 bytes and longer are left-justified.  
Geoff has incompletely quoted the docs, which say structs FOUR bytes and shorter are right-justified.  
Thus, the documentation is wrong only for the size 3 case exactly.  We'll get that fixed.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14262



More information about the Gcc-bugs mailing list