[Bug libstdc++/54861] std::atomic_signal_fence(std::memory_order_seq_cst) issues unnecessary mfence

amacleod at redhat dot com gcc-bugzilla@gcc.gnu.org
Tue Oct 9 18:40:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54861

--- Comment #2 from Andrew Macleod <amacleod at redhat dot com> 2012-10-09 18:40:16 UTC ---
Author: amacleod
Date: Tue Oct  9 18:40:02 2012
New Revision: 192268

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192268
Log:

2012-10-09  Andrew MacLeod  <amacleod@redhat.com>

    PR libstdc++/54861
    * include/bits/atomic_base.h (atomic_signal_fence): Call
    __atomic_signal_fence instead of __atomic_thread_fence.


Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/atomic_base.h



More information about the Gcc-bugs mailing list