aboutsummaryrefslogtreecommitdiff
path: root/libiberty/make-temp-file.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2023-01-05 14:04:32 +0000
committerJonathan Wakely <jwakely@redhat.com>2023-01-06 13:24:57 +0000
commit8c330fd49464f3d47a7c171d767eb3a011add76b (patch)
tree691341be2b4b0af0f129e9ee5902576f1bebad00 /libiberty/make-temp-file.c
parenta40c22c377c7cc657b0feaf0119d84d0d142a318 (diff)
downloadgcc-8c330fd49464f3d47a7c171d767eb3a011add76b.zip
gcc-8c330fd49464f3d47a7c171d767eb3a011add76b.tar.gz
gcc-8c330fd49464f3d47a7c171d767eb3a011add76b.tar.bz2
libstdc++: Disable broken std::format for floating-point types [PR108221]
If we don't have std::to_chars for floating-point types (either because float and double are not IEEE format, or size_t is 16-bit) then we can't use them with std::format. This causes a bootstrap failure since std/c++20/tzdb.cc was added to the library, because <chrono> now includes <format>. This change just disables formatting support for those types. This is not a proper fix, but solves the bootstrap failure for now. libstdc++-v3/ChangeLog: PR libstdc++/108221 * include/std/format (basic_format_arg) [!__cpp_lib_to_chars]: Disable visiting floating-point types.
Diffstat (limited to 'libiberty/make-temp-file.c')
0 files changed, 0 insertions, 0 deletions