https://issues.dlang.org/show_bug.cgi?id=15751
Tomáš Chaloupka <chalu...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chalu...@gmail.com --- Comment #1 from Tomáš Chaloupka <chalu...@gmail.com> --- Seems to be fixed in 2.089.0 Tried on run.dlang.org with: ``` import core.atomic; int main() { shared int s = 0; foreach (_; 0..10) { auto res = atomicLoad(s); if (res != 0) return 1; } return 0; } ``` came to this when trying profile something with dmd-2.088.1 --