[libcxx-commits] [libcxx] [libcxxabi] [libc++] Fix failures with GCC 14 (PR #92663)

via libcxx-commits libcxx-commits at lists.llvm.org
Sat Jun 1 08:19:51 PDT 2024


================
@@ -375,8 +375,11 @@ template <size_t _N_words, size_t _Size>
 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX23 unsigned long long
 __bitset<_N_words, _Size>::to_ullong(true_type, true_type) const {
   unsigned long long __r = __first_[0];
+  _LIBCPP_DIAGNOSTIC_PUSH
----------------
EricWF wrote:

These are really expensive. I think you should guard them to they only push-pop with GCC.

https://github.com/llvm/llvm-project/pull/92663


More information about the libcxx-commits mailing list