diff options
author | amacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-09 18:40:02 +0000 |
---|---|---|
committer | amacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-09 18:40:02 +0000 |
commit | 918af6ab20fb50b71edd1cdfa3da3578a9d4f87e (patch) | |
tree | 90d42b278819bdef98548f1047310e00ea442a62 /libstdc++-v3 | |
parent | 1bfb5d87e5e2589cb18ef7f35da012b308ff78bf (diff) | |
download | ppe42-gcc-918af6ab20fb50b71edd1cdfa3da3578a9d4f87e.tar.gz ppe42-gcc-918af6ab20fb50b71edd1cdfa3da3578a9d4f87e.zip |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192268 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/ChangeLog | 6 | ||||
-rw-r--r-- | libstdc++-v3/include/bits/atomic_base.h | 2 |
2 files changed, 7 insertions, 1 deletions
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 <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-09 Benjamin Kosnik <bkoz@redhat.com> * 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<typename _Tp> |