[libcxx-commits] [libcxx] [libc++] Use builtin for `std::is_sufficiently_aligned` (PR #173582)

David Bayer via libcxx-commits libcxx-commits at lists.llvm.org
Fri Dec 26 07:40:23 PST 2025


davebayer wrote:

> I think we can even drop the `reinterpret_cast` strategy because both Clang and GCC have been supporting `__builtin_is_aligned` for a long while. But I'm not sure whether this is desired.

As far as I know gcc doesn't implement this builtin

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


More information about the libcxx-commits mailing list