[PATCH, libffi, alpha]: Use FFI_ASSERT in ffi_closure_osf_inner

Jay jay.krell@cornell.edu
Sat Sep 20 18:28:00 GMT 2014


On Sep 20, 2014, at 3:04 AM, Anthony Green <green@moxielogic.com> wrote:

> 
> Why not just pass an FFI_TYPE_STRUCT with zero members?


My information may be old or irrelevant but I have used structs with no members with gcc backend, but with nonzero size and alignment, and ran into backend problems, particularly on sparc64, passing them as parameters. 


Is that what is being used here?
Maybe best to add some members to achieve equivalent size/alignment?


 - Jay


More information about the Gcc-patches mailing list