https://bugs.llvm.org/show_bug.cgi?id=51689
Joachim Meyer <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|NEW |RESOLVED
--- Comment #3 from Joachim Meyer <[email protected]> ---
Closing and leaving this as a reference:
https://devblogs.microsoft.com/cppblog/optimizing-the-layout-of-empty-base-classes-in-vs2015-update-2-3/
One can use `__declspec(empty_bases)` to work around the issue right now and a
future major version of MSVC might change the ABI to do that by default
(although there hasn't been a new major version since then).
Still wondering whether it might be possible, to not just silently miscompile
when using the differently layouted as parameters to CUDA kernels.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs