[Issue 16243] wrong C++ argument passing with empty struct and 6 integers

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Jul 24 10:47:42 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=16243

kinke at gmx.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kinke at gmx.net

--- Comment #4 from kinke at gmx.net ---
clang doesn't pass empty structs at all for 32-bit, while GCC does. We have
such a special case in LDC too for 32-bit OSX, where we assume clang, but not
for 32-bit Linux, where we assume GCC. See
https://github.com/ldc-developers/ldc/blob/master/gen/abi-x86.cpp#L214.

--


More information about the Digitalmars-d-bugs mailing list