gcc/libstdc++-v3/testsuite
François Dumont 8a752dfea6 allocator.h (__shrink_to_fit): Rename to __shrink_to_fit_aux, fix.
2011-06-12  François Dumont  <francois.cppdevs@free.fr>
	    Paolo Carlini  <paolo.carlini@oracle.com>

	* include/bits/allocator.h (__shrink_to_fit): Rename to
	__shrink_to_fit_aux, fix.
	* include/bits/stl_vector.h (_M_shrink_to_fit): Declare.
	(shrink_to_fit): Use the latter.
	* include/debug/vector (shrink_to_fit): Likewise.
	* include/bits/vector.tcc (_M_shrink_to_fit): Define.
	* include/bits/stl_deque.h (_M_shrink_to_fit): Declare.
	(shrink_to_fit): Use the latter.
	* include/debug/deque (shrink_to_fit): Likewise.
	* include/bits/deque.tcc (_M_shrink_to_fit): Define.
	* include/bits/vector.tcc (vector<bool>::_M_reallocate): Add.
	* include/bits/stl_bvector.h (_M_shrink_to_fit): Declare.
	(shrink_to_fit): Use the latter.
	(reserve): Use _M_reallocate, move inline.
	(_Bvector_base<>::_S_nword): Add, use it throughout.
	* include/debug/string (shrink_to_fit): Redo.
	* include/ext/vstring.h (shrink_to_fit): Optimize.
	* include/bits/basic_string.h (shrink_to_fit): Likewise.
	* testsuite/21_strings/debug/shrink_to_fit.cc: New.
	* testsuite/23_containers/vector/debug/shrink_to_fit.cc: Likewise.
	* testsuite/23_containers/vector/debug/bool/shrink_to_fit.cc:
	Likewise.
	* testsuite/23_containers/vector/bool/capacity/shrink_to_fit.cc:
	Likewise.
	* testsuite/23_containers/deque/debug/shrink_to_fit.cc: Likewise.



Co-Authored-By: Paolo Carlini <paolo.carlini@oracle.com>

From-SVN: r174967
2011-06-12 15:51:36 +00:00
..
17_intro re PR libstdc++/47662 (-fno-operator-names no longer works with STL headers) 2011-02-12 18:35:59 +00:00
18_support required.cc: New. 2011-02-25 00:57:45 +00:00
19_diagnostics gnu.ver: Add base destructors for stdexcept classes. 2011-03-16 16:05:45 +00:00
20_util explicit_instantiation.cc: Add another instantiation. 2011-06-11 16:37:17 +01:00
21_strings allocator.h (__shrink_to_fit): Rename to __shrink_to_fit_aux, fix. 2011-06-12 15:51:36 +00:00
22_locale re PR libstdc++/49293 (22_locale/time_get/get_weekday/char/38081-[12].cc fail with glibc 2.14) 2011-06-07 08:50:04 +00:00
23_containers allocator.h (__shrink_to_fit): Rename to __shrink_to_fit_aux, fix. 2011-06-12 15:51:36 +00:00
24_iterators stl_iterator.h: Add move_iterator operators overloads to make it robust to template abuses. 2010-12-08 01:23:41 +00:00
25_algorithms tuple (tuple<>::operator=(tuple&&)): Specify as noexcept. 2011-05-19 17:20:22 +00:00
26_numerics re PR libstdc++/49141 (26_numerics/complex/cons/48760.cc FAILs on Tru64 UNIX V5.1B, Solaris 8 and 9) 2011-05-24 14:59:13 +00:00
27_io re PR libstdc++/48566 (libstdc++-v3 testsuite failures due to missing includes) 2011-04-12 09:05:30 +00:00
28_regex default.cc: Do not call members which require a fully established result state. 2011-03-25 22:50:47 +00:00
29_atomics prune.exp (libstdc++-dg-prune): Prune notes. 2011-06-09 23:56:00 -04:00
30_threads uses_allocator.cc: New. 2011-06-11 12:58:18 +01:00
abi Update expected demangler output. 2010-11-18 05:24:00 -08:00
backward re PR libstdc++/49060 (use of deleted memory in __gnu_cxx::hashtable::erase) 2011-05-25 23:09:14 +00:00
config
data re PR libstdc++/37144 (A bug in include/ext/pb_ds/detail/pat_trie_/constructors_destructor_fn_imps.hpp) 2011-05-24 02:38:19 +00:00
decimal prune.exp (libstdc++-dg-prune): Prune notes. 2011-06-09 23:56:00 -04:00
ext re PR c++/48969 (ICE with -std=c++0x) 2011-06-07 17:54:07 -04:00
lib prune.exp (libstdc++-dg-prune): Prune notes. 2011-06-09 23:56:00 -04:00
libstdc++-abi extract_symvers.pl: New file. 2010-12-01 13:55:16 +00:00
libstdc++-dg conformance.exp: Apply check_v3_target_fileio as a gate for tests in subdirectories matching the... 2010-10-07 21:44:36 +00:00
performance re PR libstdc++/37144 (A bug in include/ext/pb_ds/detail/pat_trie_/constructors_destructor_fn_imps.hpp) 2011-05-24 02:38:19 +00:00
tr1 prune.exp (libstdc++-dg-prune): Prune notes. 2011-06-09 23:56:00 -04:00
util throw_allocator.h: Use noexcept. 2011-06-10 17:14:40 +00:00
Makefile.am Makefile.am: Make clean fixups. 2011-03-02 23:32:56 +00:00
Makefile.in re PR libstdc++/47145 (configure test for docbook-xsl-ns stylesheets uses hardcoded path) 2011-03-08 00:04:05 +00:00