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

kinke <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from kinke <[email protected]> ---
(In reply to Iain Buclaw from comment #1)
> The compiler sets __argTypes differently for structs with postblits vs. 
> structs without

Which is correct, as only PODs are passed in registers, so an empty argTypes
tuple for non-PODs is fine.

DMD passes non-PODs on the stack; C++ and LDC pass them indirectly by value
(pointer to caller-allocated copy). The current SysV va_arg implementation in
druntime assumes DMD's ABI in this regard.

--

Reply via email to