This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/54861] std::atomic_signal_fence(std::memory_order_seq_cst) issues unnecessary mfence
- From: "amacleod at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 10 Oct 2012 20:47:48 +0000
- Subject: [Bug libstdc++/54861] std::atomic_signal_fence(std::memory_order_seq_cst) issues unnecessary mfence
- Auto-submitted: auto-generated
- References: <bug-54861-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54861
--- Comment #4 from Andrew Macleod <amacleod at redhat dot com> 2012-10-10 20:47:48 UTC ---
Author: amacleod
Date: Wed Oct 10 20:47:39 2012
New Revision: 192332
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192332
Log:
2012-10-10 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:
branches/gcc-4_7-branch/libstdc++-v3/ChangeLog
branches/gcc-4_7-branch/libstdc++-v3/include/bits/atomic_base.h