diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2026-01-27 18:34:58 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2026-03-09 13:25:54 +0000 |
| commit | 7fd8a2028034968b8dc7984e83046f4b7c1696ff (patch) | |
| tree | d5da517839b64537bc1bf69ccb0a0389c742736a /bin/sleep | |
| parent | 969c436a6c918be0f000bd317f06985a7dd92809 (diff) | |
Merge commit 81b20e110b3f from llvm git (by Roland McGrath):stable/14
[libc++] Work around new GCC 15 type_traits builtins that can't be
used as Clang's can (#137871)
GCC 15 has added builtins for various C++ type traits that Clang
already had. Since `__has_builtin(...)` now finds these, the #if
branches previously only used for Clang are now used for GCC 15.
However, GCC 15 requires that these builtins only be used in type
aliases, not in template aliases.
For now, just don't use the `__has_builtin(...)` branches under newer
GCC versions, so both 14 and 15 work during the transition. This
can be cleaned up later to use all the GCC 15 builtins available.
Fixed: #137704
Fixed: #117319
Reviewed by: dim
Differential Revision: https://reviews.freebsd.org/D54865
(cherry picked from commit bfc6e56f6327621171cef4fe29290c63edfc4d9c)
(cherry picked from commit 897711b7bd4ba8f34bab9e0b79495ce107cfef35)
Diffstat (limited to 'bin/sleep')
0 files changed, 0 insertions, 0 deletions
