https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112607
--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-13 branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:c7c92d61d32f6fd7746e2844f68d1936e2b6f6f6 commit r13-8105-gc7c92d61d32f6fd7746e2844f68d1936e2b6f6f6 Author: Jonathan Wakely <jwak...@redhat.com> Date: Sat Nov 18 20:56:35 2023 +0000 libstdc++: Check string value_type in std::make_format_args [PR112607] libstdc++-v3/ChangeLog: PR libstdc++/112607 * include/std/format (basic_format_arg::_S_to_arg_type): Check value_type for basic_string_view and basic_string specializations. * testsuite/std/format/arguments/112607.cc: New test. (cherry picked from commit 279e407a06cc676d8e6e0bb5755b0a804e05377c)