[libcxx-commits] [PATCH] D58966: [libc++] Fix <atomic> failures on GCC

Zoe Carver via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Mar 5 08:04:20 PST 2019


zoecarver added a comment.

@ldionne Sorry for my delayed reply. Looks good to me.



================
Comment at: libcxx/trunk/include/atomic:1458
       _LIBCPP_CHECK_STORE_MEMORY_ORDER(__m)
-        {__cxx_atomic_store(&__a_, __d, static_cast<__memory_order_underlying_t>(__m));}
+        {__cxx_atomic_store(&__a_, __d, __m);}
     _LIBCPP_INLINE_VISIBILITY
----------------
Some reason these arent `static_cast`ed?


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58966/new/

https://reviews.llvm.org/D58966





More information about the libcxx-commits mailing list