gcc/libstdc++-v3/src
Paolo Carlini b7ee72de2d re PR libstdc++/24704 (__gnu_cxx::__exchange_and_add is called even for single threaded applications)
2006-05-24  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/24704
	* include/bits/atomicity.h (__exchange_and_add_single,
	__atomic_add_single): New, single thread versions of the atomic
	functions.
	(__exchange_and_add_dispatch, __atomic_add_dispatch): New,
	depending on __GTHREADS and __gthread_active_p() dispatch either
	to the above or to the existing atomic functions.
	* include/ext/pool_allocator.h: Update callers.
	* include/ext/rc_string_base.h: Likewise.
	* include/bits/locale_classes.h: Likewise.
	* include/bits/basic_string.h: Likewise.
	* include/bits/ios_base.h: Likewise.
	* include/tr1/boost_shared_ptr.h: Likewise.
	* src/ios.cc: Likewise.
	* src/locale.cc: Likewise.
	* src/ios_init.cc: Likewise.

From-SVN: r114044
2006-05-24 16:37:42 +00:00
..
allocator-inst.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
bitmap_allocator.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
codecvt.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
compatibility-ldbl.cc configure.ac (_GLIBCXX_LONG_DOUBLE_COMPAT): New check. 2006-02-07 22:23:58 +00:00
compatibility.cc c++config: Simplify debug namespaces. 2006-02-22 00:57:24 +00:00
complex_io.cc configure.ac (_GLIBCXX_LONG_DOUBLE_COMPAT): New check. 2006-02-07 22:23:58 +00:00
concept-inst.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
ctype.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
debug_list.cc c++config: Simplify debug namespaces. 2006-02-22 00:57:24 +00:00
debug.cc c++config: Simplify debug namespaces. 2006-02-22 00:57:24 +00:00
ext-inst.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
fstream-inst.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
functexcept.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
globals_io.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
globals_locale.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
ios_failure.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
ios_init.cc re PR libstdc++/24704 (__gnu_cxx::__exchange_and_add is called even for single threaded applications) 2006-05-24 16:37:42 +00:00
ios_locale.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
ios-inst.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
ios.cc re PR libstdc++/24704 (__gnu_cxx::__exchange_and_add is called even for single threaded applications) 2006-05-24 16:37:42 +00:00
iostream-inst.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
istream-inst.cc configure.ac (_GLIBCXX_LONG_DOUBLE_COMPAT): New check. 2006-02-07 22:23:58 +00:00
istream.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
limits.cc configure.ac (_GLIBCXX_LONG_DOUBLE_COMPAT): New check. 2006-02-07 22:23:58 +00:00
list.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
locale_facets.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
locale_init.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
locale-inst.cc configure.ac (_GLIBCXX_LONG_DOUBLE_COMPAT): New check. 2006-02-07 22:23:58 +00:00
locale-misc-inst.cc configure.ac (_GLIBCXX_LONG_DOUBLE_COMPAT): New check. 2006-02-07 22:23:58 +00:00
locale.cc re PR libstdc++/24704 (__gnu_cxx::__exchange_and_add is called even for single threaded applications) 2006-05-24 16:37:42 +00:00
localename.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
Makefile.am configure.ac (_GLIBCXX_LONG_DOUBLE_COMPAT): New check. 2006-02-07 22:23:58 +00:00
Makefile.in configure.ac (_GLIBCXX_LONG_DOUBLE_COMPAT): New check. 2006-02-07 22:23:58 +00:00
misc-inst.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
mt_allocator.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
ostream-inst.cc configure.ac (_GLIBCXX_LONG_DOUBLE_COMPAT): New check. 2006-02-07 22:23:58 +00:00
pool_allocator.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
sstream-inst.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
stdexcept.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
streambuf-inst.cc re PR libstdc++/26181 (istream::operator>>(streambuf*) fails to set eofbit) 2006-02-10 18:29:04 +00:00
streambuf.cc re PR libstdc++/26181 (istream::operator>>(streambuf*) fails to set eofbit) 2006-02-10 18:29:04 +00:00
string-inst.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
strstream.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
tree.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
valarray-inst.cc c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
wlocale-inst.cc configure.ac (_GLIBCXX_LONG_DOUBLE_COMPAT): New check. 2006-02-07 22:23:58 +00:00
wstring-inst.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00