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

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

https://gcc.gnu.org/g:7a00c459cbb913ac165a39d344a48fc27800bb0a

commit r14-10154-g7a00c459cbb913ac165a39d344a48fc27800bb0a
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Fri Apr 26 11:42:26 2024 +0100

    libstdc++: Do not apply localized formatting to NaN and inf [PR114863]

    We don't want to add grouping to strings like "-inf", and there is no
    radix character to replace either.

    libstdc++-v3/ChangeLog:

            PR libstdc++/114863
            * include/std/format (__formatter_fp::format): Only use
            _M_localized for finite values.
            * testsuite/std/format/functions/format.cc: Check localized
            formatting of NaN and initiny.

    (cherry picked from commit 7501c0a397fcf609a1ff5f083746b6330b89ee11)

Reply via email to