gcc/libstdc++-v3/testsuite
Jonathan Wakely a7d47f3526 PR libstdc++/79254 fix exception-safety in std::string::operator=
PR libstdc++/79254
	* config/abi/pre/gnu.ver: Add new symbols.
	* include/bits/basic_string.h [_GLIBCXX_USE_CXX11_ABI]
	(basic_string::_M_copy_assign): New overloaded functions to perform
	copy assignment.
	(basic_string::operator=(const basic_string&)): Dispatch to
	_M_copy_assign.
	* include/bits/basic_string.tcc [_GLIBCXX_USE_CXX11_ABI]
	(basic_string::_M_copy_assign(const basic_string&, true_type)):
	Define, performing rollback on exception.
	* testsuite/21_strings/basic_string/allocator/char/copy_assign.cc:
	Test exception-safety guarantee.
	* testsuite/21_strings/basic_string/allocator/wchar_t/copy_assign.cc:
	Likewise.
	* testsuite/util/testsuite_allocator.h (uneq_allocator::swap): Make
	std::swap visible.

From-SVN: r244986
2017-01-27 16:17:04 +00:00
..
17_intro
18_support PR79114 use decayed type in std::throw_with_nested assertion 2017-01-17 15:26:06 +00:00
19_diagnostics
20_util update-copyright.py: Add libhsail-rt to self.default_dirs and call self.add_dir on it. 2017-01-26 09:24:22 +01:00
21_strings PR libstdc++/79254 fix exception-safety in std::string::operator= 2017-01-27 16:17:04 +00:00
22_locale
23_containers Fix libstdc++ testsuite failures in C++98 and C++11 mode 2017-01-26 19:39:53 +00:00
24_iterators
25_algorithms Fix libstdc++ testsuite failures in C++98 and C++11 mode 2017-01-26 19:39:53 +00:00
26_numerics PR libstdc++/70607 make proj(T) and conj(T) return complex<T> 2017-01-25 15:01:05 +00:00
27_io PR66145 use new ABI for std::ios::failure exceptions 2017-01-16 15:58:06 +00:00
28_regex
29_atomics 69301.cc: Require atomic builtins. 2017-01-23 17:18:04 +00:00
30_threads Define testsuite macro for correct thread_local destructors 2017-01-09 13:06:03 +00:00
abi
backward
config
data
decimal
experimental Restore <functional> header to test 2017-01-23 23:59:08 +00:00
ext PR69240 Define inequality operators for <random> param types 2017-01-20 15:28:48 +00:00
lib Define cxx11-abi effective target for libstdc++ tests 2017-01-13 14:57:33 +00:00
libstdc++-abi
libstdc++-dg
libstdc++-prettyprinters Skip tests that are incompatible with Profile Mode 2017-01-14 11:55:22 +00:00
libstdc++-xmethods
performance
special_functions
tr1
tr2
util PR libstdc++/79254 fix exception-safety in std::string::operator= 2017-01-27 16:17:04 +00:00
Makefile.am
Makefile.in re PR other/79046 (g++ -print-file-name=plugin uses full version number in path) 2017-01-17 10:38:48 +01:00