This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/23067] Incorrect struct layout on darwin
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Oct 2005 18:40:23 -0000
- Subject: [Bug target/23067] Incorrect struct layout on darwin
- References: <bug-23067-6809@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #21 from pinskia at gcc dot gnu dot org 2005-10-06 18:40 -------
Libffi's failure info from Andreas T.:
The chunk form ffi_darwin.c has to be applied three times. Attached.
Although, with this modification I get a fail but it looks much better.
andreast% ./nested_struct3.exe
1 7 12 127 0: 13 134 134 <----- the char from the second struct gets lost.
1 7 12 127 99: 13 233 134
(I commented the CHECK in the test)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23067