re PR libstdc++/54861 (std::atomic_signal_fence(std::memory_order_seq_cst) issues unnecessary mfence)

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.

From-SVN: r192332
This commit is contained in:
Andrew MacLeod 2012-10-10 20:47:39 +00:00 committed by Andrew Macleod
parent 6f8decef4e
commit 0c0f36af04
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
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.
2012-10-05 Pavel Chupin <pavel.v.chupin@intel.com>
Fix missing gthr-default.h issue on separate libstdc++ configure

View File

@ -73,7 +73,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
inline void
atomic_signal_fence(memory_order __m) noexcept
{ __atomic_thread_fence(__m); }
{ __atomic_signal_fence(__m); }
/// kill_dependency
template<typename _Tp>