https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78552
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-9 branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:84a5534ce2f8233e6fe9c957ec51a2328bfe60e3 commit r9-8283-g84a5534ce2f8233e6fe9c957ec51a2328bfe60e3 Author: Jonathan Wakely <jwak...@redhat.com> Date: Wed Feb 26 14:00:07 2020 +0000 PR libstdc++/78552 only construct std::locale for C locale once Backport from mainline 2019-10-09 Jonathan Wakely <jwak...@redhat.com> PR libstdc++/78552 * src/c++98/locale_init.cc (locale::classic()): Do not construct a new locale object for every call. (locale::_S_initialize_once()): Construct C locale here.