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

--- Comment #3 from GCC 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:92b38ec84f2990d217f036dc6c5a32cde5ecfb93

commit r14-9879-g92b38ec84f2990d217f036dc6c5a32cde5ecfb93
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Mon Apr 8 17:37:32 2024 +0100

    libstdc++: Fix build for targets without FP std::from_chars [PR114633]

    If the faster std::from_chars is not supported for floating-point types
    then just extract the value from the stream using operator>>.

    This fixes a build error for targets where __cpp_lib_to_chars is not
    defined.

    libstdc++-v3/ChangeLog:

            PR libstdc++/114633
            * include/bits/chrono_io.h (_Parser::operator()) <'S'>: Use
            stream extraction if std::from_chars is not available.

Reply via email to