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: "andreast at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Mar 2004 06:57:52 -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 andreast at gcc dot gnu dot org 2004-03-20 06:57 -------
Ok, here the outstanding test from Apple's system compiler:
[wallstreet:~/test/libffi] andreast% ./cls_3_1byte.exe
12 13 14 178 179 180: 190 192 194
res: 190 192 194
12 13 14 178 179 180: 190 192 194
res: 190 192 194
[wallstreet:~/test/libffi] andreast% gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1493)
So, it seems the apple compiler does it the same way as it was before the patch.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14262