https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123147
--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-14 branch has been updated by Jonathan Wakely <[email protected]>: https://gcc.gnu.org/g:ce93ce4b29255ac2f6876288942a9f6aa9b79fea commit r14-12257-gce93ce4b29255ac2f6876288942a9f6aa9b79fea Author: Jonathan Wakely <[email protected]> Date: Thu Dec 18 16:39:46 2025 +0000 libstdc++: Fix chrono::parse to read from wide strings [PR123147] When we extract wide characters and insert them into a stringstream to be parsed as a floating-point value, we should use a stringstream of char, not wchar_t. libstdc++-v3/ChangeLog: PR libstdc++/123147 * include/bits/chrono_io.h (_Parser::operator()) <%S>: Use a buffer of narrow characters to be parsed by std::from_chars. * testsuite/std/time/parse/parse.cc: Check wchar_t parsing. (cherry picked from commit 18c306b1f42e3edab6c6fd1a2173d7405a0a9def)
