mirror of git://gcc.gnu.org/git/gcc.git
atomic_base.h (atomic_thread_fence): Revert.
2011-11-07 Andrew MacLeod <amacleod@redhat.com> * include/bits/atomic_base.h (atomic_thread_fence): Revert. (atomic_signal_fence): Revert. From-SVN: r181119
This commit is contained in:
parent
2870428932
commit
6577e39c94
|
@ -1,3 +1,8 @@
|
||||||
|
2011-11-07 Andrew MacLeod <amacleod@redhat.com>
|
||||||
|
|
||||||
|
* include/bits/atomic_base.h (atomic_thread_fence): Revert.
|
||||||
|
(atomic_signal_fence): Revert.
|
||||||
|
|
||||||
2011-11-07 Andrew MacLeod <amacleod@redhat.com>
|
2011-11-07 Andrew MacLeod <amacleod@redhat.com>
|
||||||
|
|
||||||
* include/bits/atomic_base.h (atomic_thread_fence): Call builtin.
|
* include/bits/atomic_base.h (atomic_thread_fence): Call builtin.
|
||||||
|
|
|
@ -69,16 +69,10 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
atomic_thread_fence(memory_order __m) noexcept
|
atomic_thread_fence(memory_order __m) noexcept;
|
||||||
{
|
|
||||||
__atomic_thread_fence (__m);
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
atomic_signal_fence(memory_order __m) noexcept
|
atomic_signal_fence(memory_order __m) noexcept;
|
||||||
{
|
|
||||||
__atomic_signal_fence (__m);
|
|
||||||
}
|
|
||||||
|
|
||||||
/// kill_dependency
|
/// kill_dependency
|
||||||
template<typename _Tp>
|
template<typename _Tp>
|
||||||
|
|
Loading…
Reference in New Issue