aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2022-03-22 21:29:56 +0000
committerJonathan Wakely <jwakely@redhat.com>2022-03-23 10:03:03 +0000
commitbd81327b03dda53e459ef2ef3dc4dea3d04a04e7 (patch)
treee1bb0d92d931ef2f461c30381e58911f66718673 /gcc
parent5bf59b004808abf6acbfe5ef54a0f9216b8dce22 (diff)
downloadgcc-bd81327b03dda53e459ef2ef3dc4dea3d04a04e7.zip
gcc-bd81327b03dda53e459ef2ef3dc4dea3d04a04e7.tar.gz
gcc-bd81327b03dda53e459ef2ef3dc4dea3d04a04e7.tar.bz2
libstdc++: Fix feature test macros in <version> for freestanding
Some C++17 and C++20 feature test macros are only defined in <version> for hosted builds, even though the features are supported for freestanding. All C++23 feature test macros are defined in <version> for freestanding, but most of the features are only supported for hosted. libstdc++-v3/ChangeLog: * include/std/version [!_GLIBCXX_HOSTED] (__cpp_lib_hardware_interference_size): Define for freestanding. (__cpp_lib_bit_cast): Likewise. (__cpp_lib_is_layout_compatible): Likewise. (__cpp_lib_is_pointer_interconvertible): Likewise. (__cpp_lib_adaptor_iterator_pair_constructor): Do not define for freestanding. (__cpp_lib_invoke_r): Likewise. (__cpp_lib_ios_noreplace): Likewise. (__cpp_lib_monadic_optional): Likewise. (__cpp_lib_move_only_function): Likewise. (__cpp_lib_spanstream): Likewise. (__cpp_lib_stacktrace): Likewise. (__cpp_lib_string_contains): Likewise. (__cpp_lib_string_resize_and_overwrite): Likewise. (__cpp_lib_to_underlying): Likewise.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions