Constructors and destructors are intentionally not mangled correctly, as they do not match the expected C++ abi in other ways. While this might be made to work in the future it's an intentional limitation and not a bug.
Comment #2 by turkeyman — 2018-05-20T02:43:26Z
I use pragma(mangle) to force the mangle for ctors to link to C++ ctor's just fine... in what way is the ABI incompatible?
Comment #3 by github-bugzilla — 2018-05-21T07:45:24Z