[Issue 10645] Wrong codegen for shared struct with constructor and pass to atomicLoad

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Aug 13 23:50:31 PDT 2014


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

Maxim Fomin <maxim-fomin at outlook.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |maxim-fomin at outlook.com

--- Comment #2 from Maxim Fomin <maxim-fomin at outlook.com> ---
I remember Walter was speaking that atomicLoad is restricted only to POD
structs and structs with constructors are not POD. So, it is clear why it is
not working (it also explains observation that removing constructor fixes the
problem).

--


More information about the Digitalmars-d-bugs mailing list