gcc/libstdc++-v3/config/abi/pre
Jonathan Wakely 11d10beb57 PR libstdc++/79254 simplify exception-safety in copy assignment
PR libstdc++/79254
	* config/abi/pre/gnu.ver: Remove recently added symbols.
	* include/bits/basic_string.h [_GLIBCXX_USE_CXX11_ABI]
	(basic_string::_M_copy_assign): Remove.
	(basic_string::operator=(const basic_string&)): Don't dispatch to
	_M_copy_assign. If source object is small just deallocate, otherwise
	perform new allocation before making any changes.
	* include/bits/basic_string.tcc [_GLIBCXX_USE_CXX11_ABI]
	(basic_string::_M_copy_assign(const basic_string&, true_type)):
	Remove.
	* testsuite/21_strings/basic_string/allocator/char/copy_assign.cc:
	Test cases where the allocators are equal or the string is small.
	* testsuite/21_strings/basic_string/allocator/wchar_t/copy_assign.cc:
	Likewise.

From-SVN: r245085
2017-02-01 11:41:48 +00:00
..
float128.ver re PR libstdc++/43622 (Incomplete C++ library support for __float128) 2014-11-18 20:20:53 +00:00
gnu-versioned-namespace.ver Update copyright years. 2017-01-01 13:07:43 +01:00
gnu.ver PR libstdc++/79254 simplify exception-safety in copy assignment 2017-02-01 11:41:48 +00:00
none.ver Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00