gcc/libstdc++-v3/testsuite
Paolo Carlini a7cee01d32 re PR libstdc++/50529 ([C++0x] std::vector::erase invokes undefined behavior with empty range)
2011-09-26  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/50529
	* include/bits/vector.tcc (vector<>::erase(iterator, iterator)):
	Fix to do nothing if the range is empty.
	* include/bits/stl_bvector.h: Likewise.
	* include/bits/deque.tcc: Likewise.
	* include/debug/vector: Adjust.
	* include/debug/deque: Likewise.
	* testsuite/23_containers/vector/modifiers/erase/50529.cc: New.
	* testsuite/23_containers/deque/modifiers/erase/50529.cc: Likewise.
	* testsuite/23_containers/deque/modifiers/erase/3.cc: Adjust.

From-SVN: r179234
2011-09-27 02:39:34 +00:00
..
17_intro
18_support limits.cc: Replace everywhere __int128_t -> __int128, and __uint128_t -> unsigned __int128. 2011-09-21 11:23:11 +00:00
19_diagnostics
20_util re PR libstdc++/48698 (gnu-versioned-namespace problems) 2011-09-27 00:02:54 +00:00
21_strings
22_locale
23_containers re PR libstdc++/50529 ([C++0x] std::vector::erase invokes undefined behavior with empty range) 2011-09-27 02:39:34 +00:00
24_iterators re PR libstdc++/50336 (LWG issue 445) 2011-09-08 22:42:21 +00:00
25_algorithms re PR libstdc++/50119 ([C++0x] copy_n advances InputIterator one more time than necessary) 2011-08-18 16:32:23 +00:00
26_numerics
27_io
28_regex
29_atomics re PR libstdc++/40856 (numeric_limits not specialized for __int128_t or __uint128_t) 2011-09-19 11:52:49 +00:00
30_threads
abi
backward
config
data make_graph_test_infos.xml: Edit. 2011-08-15 00:51:06 +00:00
decimal
ext re PR libstdc++/48698 (gnu-versioned-namespace problems) 2011-09-27 00:02:54 +00:00
lib simple.cc: New file. 2011-08-25 14:29:47 +00:00
libstdc++-abi
libstdc++-dg
libstdc++-prettyprinters simple.cc: New file. 2011-08-25 14:29:47 +00:00
performance make_graph_test_infos.xml: Edit. 2011-08-15 00:51:06 +00:00
tr1
util revert: testsuite_error.h: Add empty default constructor to __gnu_test::test_category and... 2011-09-25 20:58:46 +00:00
Makefile.am
Makefile.in