gcc/libstdc++-v3/testsuite
Jonathan Wakely 93ef155b3d PR libstdc++/81338 correctly manage string capacity
PR libstdc++/81338
	* include/bits/basic_string.h [_GLIBCXX_USE_CXX11_ABI] (basic_string):
	Declare basic_stringbuf to be a friend.
	* include/bits/sstream.tcc (basic_stringbuf::overflow)
	[_GLIBCXX_USE_CXX11_ABI]: Use unused capacity before reallocating.
	* include/std/sstream (basic_stringbuf::__xfer_bufptrs): Update string
	length to buffer length.
	* testsuite/27_io/basic_stringstream/assign/81338.cc: New.

From-SVN: r250100
2017-07-10 18:58:56 +01:00
..
17_intro Remove superfluous "" in dg-error. 2017-04-28 13:56:38 +01:00
18_support Use pthread effective-target in testsuite 2017-06-15 12:18:05 +00:00
19_diagnostics Update copyright years. 2017-01-01 13:07:43 +01:00
20_util Fix memory leaks in libstdc++ tests 2017-07-06 13:42:51 +01:00
21_strings Get rid of dg-skip-if etc. default args 2017-06-17 15:32:28 +00:00
22_locale Fix memory leaks in libstdc++ tests 2017-07-06 13:42:51 +01:00
23_containers Get rid of dg-skip-if etc. default args 2017-06-17 15:32:28 +00:00
24_iterators * testsuite/24_iterators/container_access.cc (test03): Make il3 static. 2017-05-09 11:11:19 -04:00
25_algorithms PR libstdc++/81221 only run new test for check-parallel 2017-06-27 17:19:16 +01:00
26_numerics PR libstdc++/80137 use std::nextafter instead of looping 2017-03-28 17:09:49 +01:00
27_io PR libstdc++/81338 correctly manage string capacity 2017-07-10 18:58:56 +01:00
28_regex Add C++17 deduction guide for std::basic_regex (P0433R2, partial) 2017-06-07 16:43:54 +01:00
29_atomics 69301.cc: Require atomic builtins. 2017-01-23 17:18:04 +00:00
30_threads Use pthread effective-target in testsuite 2017-06-15 12:18:05 +00:00
abi Fix memory leaks in libstdc++ ABI tests 2017-07-06 13:42:46 +01:00
backward Update copyright years. 2017-01-01 13:07:43 +01:00
config Update copyright years. 2017-01-01 13:07:43 +01:00
data
decimal Update copyright years. 2017-01-01 13:07:43 +01:00
experimental Test source_location::current() in default member initializer 2017-05-16 15:26:14 +01:00
ext Use pthread effective-target in testsuite 2017-06-15 12:18:05 +00:00
lib Define cxx11-abi effective target for libstdc++ tests 2017-01-13 14:57:33 +00:00
libstdc++-abi Update copyright years. 2017-01-01 13:07:43 +01:00
libstdc++-dg Update copyright years. 2017-01-01 13:07:43 +01:00
libstdc++-prettyprinters Bump version namespace. 2017-05-10 20:40:28 +00:00
libstdc++-xmethods Update copyright years. 2017-01-01 13:07:43 +01:00
performance Update copyright years. 2017-01-01 13:07:43 +01:00
special_functions Fix missing returns in libstdc++ header and tests 2017-06-16 09:13:37 +01:00
tr1 Use pthread effective-target in testsuite 2017-06-15 12:18:05 +00:00
tr2 Update copyright years. 2017-01-01 13:07:43 +01:00
util Fix memory leaks in libstdc++ ABI tests 2017-07-06 13:42:46 +01:00
Makefile.am Update copyright years. 2017-01-01 13:07:43 +01:00
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