https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64021

--- Comment #8 from Richard Henderson <rth at gcc dot gnu.org> ---
(In reply to Ian Lance Taylor from comment #7)
> I note that a zero-sized array is converted to an empty struct in go-ffi.c. 
> I wonder how libffi handles that today.

It doesn't.  There will be an assertion error.

I'll look at changing libffi to handle empty structures then.

Reply via email to