This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libffi/45677] Bad stack allocation for ffi function calls on x86-64
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 1 Oct 2010 07:32:15 +0000
- Subject: [Bug libffi/45677] Bad stack allocation for ffi function calls on x86-64
- Auto-submitted: auto-generated
- References: <bug-45677-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45677
--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-10-01 07:31:55 UTC ---
Author: jakub
Date: Fri Oct 1 07:31:49 2010
New Revision: 164829
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164829
Log:
PR libffi/45677
* src/x86/ffi64.c (ffi_prep_cif_machdep): Ensure cif->bytes is
a multiple of 8.
* testsuite/libffi.call/many2.c: New test.
Added:
trunk/libffi/testsuite/libffi.call/many2.c
Modified:
trunk/libffi/ChangeLog
trunk/libffi/src/x86/ffi64.c