[Issue 19841] Wrong ABI for C++ functions taking a struct by value

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu May 2 12:55:46 UTC 2019


kinke at gmx.net changed:

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

--- Comment #1 from kinke at gmx.net ---
(In reply to Atila Neves from comment #0)
> The equivalent C++ code passes `foo` as an address in RSI.

No it doesn't: https://godbolt.org/z/hyzdMY


More information about the Digitalmars-d-bugs mailing list