Thread overview | |||||
---|---|---|---|---|---|
|
August 14, 2014 [Issue 10645] Wrong codegen for shared struct with constructor and pass to atomicLoad | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=10645 Maxim Fomin <maxim-fomin@outlook.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |maxim-fomin@outlook.com --- Comment #2 from Maxim Fomin <maxim-fomin@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). -- |
May 10, 2017 [Issue 10645] Wrong codegen for shared struct with constructor and pass to atomicLoad | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=10645 Andrew Edwards <edwards.ac@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |edwards.ac@gmail.com --- Comment #3 from Andrew Edwards <edwards.ac@gmail.com> --- Tested on 2017-05-10 with DMD v2.074.0 on both Ubuntu 16.04 and macOS Sierra. Produces the expected output on both systems: buf: Test(7), orig: Test(7) -- |
August 18, 2019 [Issue 10645] Wrong codegen for shared struct with constructor and pass to atomicLoad | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=10645 ag0aep6g <ag0aep6g@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |ag0aep6g@gmail.com Resolution|--- |WORKSFORME --- Comment #4 from ag0aep6g <ag0aep6g@gmail.com> --- (In reply to Andrew Edwards from comment #3) > Tested on 2017-05-10 with DMD v2.074.0 on both Ubuntu 16.04 and macOS Sierra. Produces the expected output on both systems: > > buf: Test(7), orig: Test(7) Apparently works since DMD 2.065. Closing as worksforme. -- |
Copyright © 1999-2021 by the D Language Foundation