https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78552
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-8 branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:26b070a3f6e5c7ccee7491fb758dba4c72bd7026 commit r8-10086-g26b070a3f6e5c7ccee7491fb758dba4c72bd7026 Author: Jonathan Wakely <jwak...@redhat.com> Date: Wed Feb 26 09:43:59 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.