[Bug libffi/45677] Bad stack allocation for ffi function calls on x86-64
dwitte at mozilla dot com
gcc-bugzilla@gcc.gnu.org
Wed Sep 15 17:24:00 GMT 2010
------- Comment #5 from dwitte at mozilla dot com 2010-09-15 17:24 -------
Yeah, that sounds right to me. The final alignment really wants to be the
alignment of whatever comes next, right? Which happens to be cif->flags, so 8
is fine. I wonder if just assuming 8 is fragile, but since we'll only ever have
integers or pointers on the stack, it should be OK?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45677
More information about the Gcc-bugs
mailing list