gcc/libstdc++-v3/testsuite
Paolo Carlini 848ca96f30 re PR libstdc++/49559 ([C++0x] stable_sort calls self-move-assignment operator)
2011-07-11  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/49559
	* include/bits/stl_algo.h (__move_merge_backward): Remove.
	(__move_merge_adaptive, __move_merge_adaptive_backward): New.
	(__merge_adaptive): Use the latter two.
	(__rotate_adaptive): Avoid self move-assignment.
	* include/bits/stl_algobase.h (move_backward): Fix comment.
	* testsuite/25_algorithms/stable_sort/49559.cc: New.
	* testsuite/25_algorithms/inplace_merge/49559.cc: Likewise.
	* testsuite/25_algorithms/inplace_merge/moveable.cc: Extend.
	* testsuite/25_algorithms/inplace_merge/moveable2.cc: Likewise.
	* testsuite/util/testsuite_rvalref.h (rvalstruct::operator=
	(rvalstruct&&)): Check for self move-assignment.

From-SVN: r176174
2011-07-11 18:38:54 +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 Makefile.am: Add new header. 2011-07-09 14:45:56 +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 stl_vector.h: Use new allocator model in C++0x mode. 2011-07-09 14:06:29 +01: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 re PR libstdc++/49559 ([C++0x] stable_sort calls self-move-assignment operator) 2011-07-11 18:38:54 +00:00
26_numerics tie2.cc: Fix for C++0x mode. 2011-06-23 11:32:23 +01: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 re PR libstdc++/49668 ([C++0x] std::thread does not forward its args as rvalues) 2011-07-09 11:13:01 +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 Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
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 configure.host (abi_baseline_subdir_switch): Describe. 2011-07-08 08:49:57 +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 tie2.cc: Fix for C++0x mode. 2011-06-23 11:32:23 +01:00
util re PR libstdc++/49559 ([C++0x] stable_sort calls self-move-assignment operator) 2011-07-11 18:38:54 +00:00
Makefile.am configure.host (abi_baseline_subdir_switch): Describe. 2011-07-08 08:49:57 +00:00
Makefile.in configure.host (abi_baseline_subdir_switch): Describe. 2011-07-08 08:49:57 +00:00