[Issue 18928] extern(C++) bad codegen, wrong calling convention

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jun 1 20:34:10 UTC 2018


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

kinke at gmx.net changed:

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

--- Comment #5 from kinke at gmx.net ---
(In reply to Manu from comment #3)
> This might reveal that the VC ABI has RVO rules that we don't understand?

Or rather that their C++ ABI apparently enforces sret/RVO for methods returning
structs, even such trivial 32-bit PODs, but doesn't for normal functions.
Interesting findings; I'll verify them.

--


More information about the Digitalmars-d-bugs mailing list