gcc/libstdc++-v3/testsuite/25_algorithms
Paolo Carlini a4c07f2d9f re PR libstdc++/34730 (Legal program doesn't compile with -D_GLIBCXX_DEBUG)
2008-01-12  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/34730
	* include/debug/functions.h (__check_sorted_set,
	__check_sorted_set_aux): Add.
	(__check_sorted): Check StrictWeakOrdering.
	* include/debug/macros.h (__glibcxx_check_strict_weak_ordering,
	__glibcxx_check_strict_weak_ordering_pred): Remove.
	(__glibcxx_check_sorted, __glibcxx_check_sorted_pred): Adjust.
	(__glibcxx_check_sorted_set, __glibcxx_check_sorted_set_pred): Add.
	* include/debug/debug.h (__glibcxx_requires_sorted_set,
	__glibcxx_requires_sorted_set_pred): Add.
	* include/bits/stl_algo.h (merge, includes, set_union,
	set_intersection, set_difference, set_symmetric_difference):
	Adjust, use __glibcxx_requires_sorted_set* instead. 
	* testsuite/25_algorithms/set_intersection/34730.cc: New.

From-SVN: r131500
2008-01-13 01:34:58 +00:00
..
adjacent_find
binary_search Fixes for --disable-libstdcxx-pch. 2007-10-06 03:06:37 +00:00
copy 34595.C: Rename to 34595.cc. 2007-12-27 04:27:41 +00:00
copy_backward stl_algobase.h (struct __miter_base): Add. 2007-10-27 12:07:04 +00:00
count
count_if Fixes for --disable-libstdcxx-pch. 2007-10-06 03:06:37 +00:00
equal moveable.cc: New. 2007-10-03 17:27:18 +00:00
equal_range Fixes for --disable-libstdcxx-pch. 2007-10-06 03:06:37 +00:00
fill
fill_n/requirements/explicit_instantiation
find
find_end Fixes for --disable-libstdcxx-pch. 2007-10-06 03:06:37 +00:00
find_first_of Fixes for --disable-libstdcxx-pch. 2007-10-06 03:06:37 +00:00
find_if Fixes for --disable-libstdcxx-pch. 2007-10-06 03:06:37 +00:00
for_each/requirements/explicit_instantiation Fixes for --disable-libstdcxx-pch. 2007-10-06 03:06:37 +00:00
generate/requirements/explicit_instantiation
generate_n/requirements/explicit_instantiation
headers stl_algo.h (minmax, [...]): Add. 2007-11-02 15:55:32 +00:00
heap stl_heap.h (__push_heap, [...]): Use _GLIBCXX_MOVE. 2007-10-11 17:56:31 +00:00
includes Fixes for --disable-libstdcxx-pch. 2007-10-06 03:06:37 +00:00
inplace_merge Fixes for --disable-libstdcxx-pch. 2007-10-06 03:06:37 +00:00
is_heap stl_heap.h (__is_heap_until): Add. 2007-10-12 16:26:03 +00:00
is_heap_until stl_heap.h (__is_heap_until): Add. 2007-10-12 16:26:03 +00:00
is_sorted stl_algo.h (is_sorted, [...]): Add. 2007-10-14 21:17:23 +00:00
is_sorted_until stl_algo.h (is_sorted, [...]): Add. 2007-10-14 21:17:23 +00:00
iter_swap
lexicographical_compare Fixes for --disable-libstdcxx-pch. 2007-10-06 03:06:37 +00:00
lower_bound Fixes for --disable-libstdcxx-pch. 2007-10-06 03:06:37 +00:00
make_heap/requirements/explicit_instantiation Fixes for --disable-libstdcxx-pch. 2007-10-06 03:06:37 +00:00
max Fixes for --disable-libstdcxx-pch. 2007-10-06 03:06:37 +00:00
max_element Fixes for --disable-libstdcxx-pch. 2007-10-06 03:06:37 +00:00
merge Fixes for --disable-libstdcxx-pch. 2007-10-06 03:06:37 +00:00
min Fixes for --disable-libstdcxx-pch. 2007-10-06 03:06:37 +00:00
min_element Fixes for --disable-libstdcxx-pch. 2007-10-06 03:06:37 +00:00
minmax stl_algo.h (minmax, [...]): Add. 2007-11-02 15:55:32 +00:00
minmax_element stl_algo.h (minmax, [...]): Add. 2007-11-02 15:55:32 +00:00
mismatch
move stl_algobase.h (struct __cm_assign, [...]): Add. 2007-10-19 17:04:59 +00:00
move_backward stl_algobase.h (struct __cm_assign, [...]): Add. 2007-10-19 17:04:59 +00:00
next_permutation Fixes for --disable-libstdcxx-pch. 2007-10-06 03:06:37 +00:00
nth_element [multiple changes] 2007-12-10 13:53:10 +00:00
partial_sort stl_heap.h (__push_heap, [...]): Use _GLIBCXX_MOVE. 2007-10-11 17:56:31 +00:00
partial_sort_copy Fixes for --disable-libstdcxx-pch. 2007-10-06 03:06:37 +00:00
partition [multiple changes] 2007-10-07 11:14:11 +00:00
pop_heap/requirements/explicit_instantiation Fixes for --disable-libstdcxx-pch. 2007-10-06 03:06:37 +00:00
prev_permutation Fixes for --disable-libstdcxx-pch. 2007-10-06 03:06:37 +00:00
push_heap/requirements/explicit_instantiation Fixes for --disable-libstdcxx-pch. 2007-10-06 03:06:37 +00:00
random_shuffle/requirements/explicit_instantiation Fixes for --disable-libstdcxx-pch. 2007-10-06 03:06:37 +00:00
remove [multiple changes] 2007-10-07 11:14:11 +00:00
remove_copy/requirements/explicit_instantiation
remove_copy_if/requirements/explicit_instantiation Fixes for --disable-libstdcxx-pch. 2007-10-06 03:06:37 +00:00
remove_if [multiple changes] 2007-10-07 11:14:11 +00:00
replace
replace_copy
replace_copy_if Fixes for --disable-libstdcxx-pch. 2007-10-06 03:06:37 +00:00
replace_if Fixes for --disable-libstdcxx-pch. 2007-10-06 03:06:37 +00:00
reverse [multiple changes] 2007-10-07 11:14:11 +00:00
reverse_copy/explicit_instantiation
rotate [multiple changes] 2007-10-07 11:14:11 +00:00
rotate_copy/requirements/explicit_instantiation
search Fixes for --disable-libstdcxx-pch. 2007-10-06 03:06:37 +00:00
search_n Fixes for --disable-libstdcxx-pch. 2007-10-06 03:06:37 +00:00
set_difference Fixes for --disable-libstdcxx-pch. 2007-10-06 03:06:37 +00:00
set_intersection re PR libstdc++/34730 (Legal program doesn't compile with -D_GLIBCXX_DEBUG) 2008-01-13 01:34:58 +00:00
set_symmetric_difference Fixes for --disable-libstdcxx-pch. 2007-10-06 03:06:37 +00:00
set_union Fixes for --disable-libstdcxx-pch. 2007-10-06 03:06:37 +00:00
sort re PR libstdc++/34095 (parallel mode: segfault in std::sort) 2008-01-01 19:05:41 +00:00
sort_heap/requirements/explicit_instantiation Fixes for --disable-libstdcxx-pch. 2007-10-06 03:06:37 +00:00
stable_partition Fixes for --disable-libstdcxx-pch. 2007-10-06 03:06:37 +00:00
stable_sort Fixes for --disable-libstdcxx-pch. 2007-10-06 03:06:37 +00:00
swap/requirements/explicit_instantiation
swap_ranges [multiple changes] 2007-10-07 11:14:11 +00:00
transform/requirements/explicit_instantiation Fixes for --disable-libstdcxx-pch. 2007-10-06 03:06:37 +00:00
unique [multiple changes] 2007-10-07 11:14:11 +00:00
unique_copy Fixes for --disable-libstdcxx-pch. 2007-10-06 03:06:37 +00:00
upper_bound Fixes for --disable-libstdcxx-pch. 2007-10-06 03:06:37 +00:00