gcc/libstdc++-v3/src
Jonathan Wakely 0d7d69ca4a libstdc++: Partially revert r11-5314
The changes in r11-5314 are broken, because it means we don't use
__gthread_once for the first few initializations, but after the program
becomes multi-threaded we will repeat the initialization, using
__gthread_once once this time. This leads to memory errors.

The use of __is_single_threaded() in locale:🆔:_M_id() is OK, because
the side effects are the same either way.

libstdc++-v3/ChangeLog:

	* src/c++98/locale.cc (locale::facet::_S_get_c_locale()):
	Revert change to use __is_single_threaded.
	* src/c++98/locale_init.cc (locale::_S_initialize()):
	Likewise.
2020-11-27 12:25:02 +00:00
..
c++11 libstdc++: Encapsulate __gthread_cond_t as std::__condvar 2020-11-25 18:24:13 +00:00
c++17
c++20
c++98 libstdc++: Partially revert r11-5314 2020-11-27 12:25:02 +00:00
filesystem
shared
Makefile.am libstdc++: Fix error shown during Solaris build 2020-11-16 11:54:22 +00:00
Makefile.in libstdc++: Fix error shown during Solaris build 2020-11-16 11:54:22 +00:00