OSDN Git Service

* include/bits/atomic_base.h (__calculate_memory_order): Rename to...
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
index d8707d8..bf5224e 100644 (file)
@@ -1,3 +1,11 @@
+2011-12-08  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * include/bits/atomic_base.h (__calculate_memory_order): Rename to...
+       (__cmpexch_failure_order): This, and rewrite as constexpr function.
+       (compare_exchange_strong, compare_exchange_weak): Use it.
+       * include/std/atomic (compare_exchange_strong, compare_exchange_weak):
+       Likewise.
+
 2011-12-07  Fran├žois Dumont <fdumont@gcc.gnu.org>
 
        PR libstdc++/51386
 2011-12-07  Fran├žois Dumont <fdumont@gcc.gnu.org>
 
        PR libstdc++/51386