[Bug middle-end/66713] atomic compare_exchange_strong creates spurious store for x86-64 at -O3

tkoeppe at google dot com gcc-bugzilla@gcc.gnu.org
Wed Jul 1 07:53:00 GMT 2015


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

--- Comment #3 from Thomas Köppe <tkoeppe at google dot com> ---
Note: The code in question, and the hand-written assembly, are taken from the
ZMQ library:

https://github.com/zeromq/libzmq/blob/master/src/atomic_ptr.hpp

I added the C++11 atomic support recenlty.


More information about the Gcc-bugs mailing list