https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68338
Dmitry Vyukov <dvyukov at google dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dvyukov at google dot com --- Comment #3 from Dmitry Vyukov <dvyukov at google dot com> --- As far as I remember there was a real bug in gcc that it emitted non-atomic load for static var initialization fast-path (think broken double-checked locking). This bug should be fixed by now. So if it works with tip gcc, I propose to close this.