https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68622
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-08-05 Component|middle-end |tree-optimization Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- To do this, GCC needs a pass which changes __atomic_stores to be relaxed stores. Confirmed. I wonder how clang does it.