]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
atomic_base.h (atomic_thread_fence): Revert.
authorAndrew MacLeod <amacleod@redhat.com>
Mon, 7 Nov 2011 21:32:52 +0000 (21:32 +0000)
committerAndrew Macleod <amacleod@gcc.gnu.org>
Mon, 7 Nov 2011 21:32:52 +0000 (21:32 +0000)
2011-11-07  Andrew MacLeod  <amacleod@redhat.com>

* include/bits/atomic_base.h (atomic_thread_fence): Revert.
(atomic_signal_fence): Revert.

From-SVN: r181119

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/atomic_base.h

index f28bc5c4b42054ac783907c7987d5a4b34fdfb5b..b8c222ba807c783ceda02595f2a70a72a747a3ae 100644 (file)
@@ -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>
 
        * include/bits/atomic_base.h (atomic_thread_fence): Call builtin.
index e297eb0e6ada9c3fb7a06a8da4e8e0c3701ea2ee..5327c1bfa214e5e993cb8fb4bbd6e5a6ed7ad410 100644 (file)
@@ -69,16 +69,10 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
   }
 
   void
-  atomic_thread_fence(memory_order __m) noexcept
-  {
-    __atomic_thread_fence (__m);
-  }
+  atomic_thread_fence(memory_order __m) noexcept;
 
   void
-  atomic_signal_fence(memory_order __m) noexcept
-  {
-    __atomic_signal_fence (__m);
-  }
+  atomic_signal_fence(memory_order __m) noexcept;
 
   /// kill_dependency
   template<typename _Tp>