[Issue 20773] Excessive calls to postblit when passing structs over varargs

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Apr 26 19:20:45 UTC 2020


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

kinke <kinke at gmx.net> changed:

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

--- Comment #2 from kinke <kinke at gmx.net> ---
(In reply to Iain Buclaw from comment #0)
> Postblit called 6 times

Which is correct - 3 argument copies + 3 copies returned by va_arg. Unless
va_arg is supposed to return a *moved* instance of the original argument.

--


More information about the Digitalmars-d-bugs mailing list