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

--- Comment #29 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:65670b788d4624d54b270d51ec846d93133e5c50

commit r14-11451-g65670b788d4624d54b270d51ec846d93133e5c50
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Mon Mar 24 21:25:20 2025 +0000

    libstdc++: Cast -1 to size_t in <format> [PR119429]

    This avoids a runtime error from Clang's annoying -fsanitize=integer
    (even though it's not undefined and behaves correctly).

    libstdc++-v3/ChangeLog:

            PR libstdc++/119429
            * include/std/format (__format::_Scanner::_Scanner): Cast
            default argument to size_t.

    (cherry picked from commit 039cc50867000e6427924ca490dc810eaa44cf08)

Reply via email to