https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119840
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Tomasz Kaminski <tkami...@gcc.gnu.org>: https://gcc.gnu.org/g:930b504b598864ba1774eb209a748ed76b6fc7c1 commit r15-9551-g930b504b598864ba1774eb209a748ed76b6fc7c1 Author: Tomasz KamiÅski <tkami...@redhat.com> Date: Thu Apr 17 10:33:10 2025 +0200 libstdc++: Fixed signed comparision in _M_parse_fill_and_align [PR119840] Explicitly cast elements of __not_fill to _CharT. Only '{' and ':' are used as `__not_fill`, so they are never negative. PR libstdc++/119840 libstdc++-v3/ChangeLog: * include/std/format (_M_parse_fill_and_align): Cast elements of __not_fill to _CharT.