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

2016-06-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66713

Andrew Pinski  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #4 from Andrew Pinski  ---
Dup of bug 66867.

*** This bug has been marked as a duplicate of bug 66867 ***

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

2015-07-01 Thread tkoeppe at google dot com
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.