[llvm-bugs] [Bug 30445] [ARM] Possible race condition in std::atomic_compare_exchange_strong

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Dec 2 13:32:05 PST 2016


https://llvm.org/bugs/show_bug.cgi?id=30445

Renato Golin <renato.golin at linaro.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |---

--- Comment #16 from Renato Golin <renato.golin at linaro.org> ---
This is not good. I'm reopening this.

Could this be the result of Clang optimising (and eliding the problem) with the
code? Or undefined behaviour? I don't know enough about the new standards (or
atomics) to identify undefined behaviour in there.

cheers,
--renato

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20161202/fbc29ec8/attachment.html>


More information about the llvm-bugs mailing list