[libcxx-commits] [libcxx] [libcxxabi] [libc++] Fix failures with GCC 14 (PR #92663)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Tue May 21 15:52:28 PDT 2024
================
@@ -123,7 +123,7 @@ __constexpr_memcmp_equal(const _Tp* __lhs, const _Up* __rhs, __element_count __n
}
return true;
} else {
- return __builtin_memcmp(__lhs, __rhs, __count * sizeof(_Tp)) == 0;
+ return ::__builtin_memcmp(__lhs, __rhs, __count * sizeof(_Tp)) == 0;
----------------
philnik777 wrote:
Apparently GCC does ADL lookup on builtins.
https://github.com/llvm/llvm-project/pull/92663
More information about the libcxx-commits
mailing list