From 918af6ab20fb50b71edd1cdfa3da3578a9d4f87e Mon Sep 17 00:00:00 2001 From: amacleod Date: Tue, 9 Oct 2012 18:40:02 +0000 Subject: 2012-10-09 Andrew MacLeod PR libstdc++/54861 * include/bits/atomic_base.h (atomic_signal_fence): Call __atomic_signal_fence instead of __atomic_thread_fence. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192268 138bc75d-0d04-0410-961f-82ee72b054a4 --- libstdc++-v3/ChangeLog | 6 ++++++ libstdc++-v3/include/bits/atomic_base.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'libstdc++-v3') diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 1f5c8dfeaa6..e395dd2b561 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2012-10-09 Andrew MacLeod + + PR libstdc++/54861 + * include/bits/atomic_base.h (atomic_signal_fence): Call + __atomic_signal_fence instead of __atomic_thread_fence. + 2012-10-09 Benjamin Kosnik * testsuite/20_util/specialized_algorithms/uninitialized_copy/808590.cc: diff --git a/libstdc++-v3/include/bits/atomic_base.h b/libstdc++-v3/include/bits/atomic_base.h index de098a3c40b..af8a92436b2 100644 --- a/libstdc++-v3/include/bits/atomic_base.h +++ b/libstdc++-v3/include/bits/atomic_base.h @@ -74,7 +74,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 -- cgit v1.2.1