https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108221

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>:

https://gcc.gnu.org/g:8c330fd49464f3d47a7c171d767eb3a011add76b

commit r13-5047-g8c330fd49464f3d47a7c171d767eb3a011add76b
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Thu Jan 5 14:04:32 2023 +0000

    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.

Reply via email to