[Bug target/67458] x86: atomic store with memory_order_release doesn't order other stores

amonakov at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Sep 4 10:29:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67458

Alexander Monakov <amonakov at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amonakov at gcc dot gnu.org

--- Comment #3 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
Fixed, but note that the executable testcase in comment #1 has undefined
behavior due to data race (unsynchronized write at line 11 and read at line
17).


More information about the Gcc-bugs mailing list