57619.C: Rename to 57619.cc.
authorPaolo Carlini <paolo.carlini@oracle.com>
Mon, 17 Oct 2016 13:32:32 +0000 (13:32 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 17 Oct 2016 13:32:32 +0000 (13:32 +0000)
2016-10-17  Paolo Carlini  <paolo.carlini@oracle.com>

* testsuite/unordered_map/insert/57619.C: Rename to 57619.cc.
* testsuite/23_containers/unordered_multimap/insert/57619.C: Likewise.

2016-10-17  Paolo Carlini  <paolo.carlini@oracle.com>

* testsuite/array/capacity/empty.cc: Remove 'test' variables.
* testsuite/array/capacity/max_size.cc: Likewise.
* testsuite/array/capacity/size.cc: Likewise.
* testsuite/array/comparison_operators/equal.cc: Likewise.
* testsuite/array/comparison_operators/greater.cc: Likewise.
* testsuite/array/comparison_operators/greater_or_equal.cc: Likewise.
* testsuite/array/comparison_operators/less.cc: Likewise.
* testsuite/array/comparison_operators/less_or_equal.cc: Likewise.
* testsuite/array/comparison_operators/not_equal.cc: Likewise.
* testsuite/array/element_access/54388.cc: Likewise.
* testsuite/array/element_access/at_out_of_range.cc: Likewise.
* testsuite/array/element_access/back.cc: Likewise.
* testsuite/array/element_access/data.cc: Likewise.
* testsuite/array/element_access/front.cc: Likewise.
* testsuite/array/iterators/end_is_one_past.cc: Likewise.
* testsuite/array/requirements/contiguous.cc: Likewise.
* testsuite/array/requirements/fill.cc: Likewise.
* testsuite/array/requirements/member_swap.cc: Likewise.
* testsuite/array/requirements/zero_sized_arrays.cc: Likewise.
* testsuite/array/specialized_algorithms/swap.cc: Likewise.
* testsuite/array/tuple_interface/tuple_element.cc: Likewise.
* testsuite/array/tuple_interface/tuple_element_cpp14.cc: Likewise.
* testsuite/array/tuple_interface/tuple_size.cc: Likewise.
* testsuite/bitset/all/1.cc: Likewise.
* testsuite/bitset/cons/1.cc: Likewise.
* testsuite/bitset/cons/16020.cc: Likewise.
* testsuite/bitset/cons/2.cc: Likewise.
* testsuite/bitset/cons/3.cc: Likewise.
* testsuite/bitset/cons/50268.cc: Likewise.
* testsuite/bitset/cons/6282.cc: Likewise.
* testsuite/bitset/cons/dr1325-2.cc: Likewise.
* testsuite/bitset/cons/dr396.cc: Likewise.
* testsuite/bitset/ext/15361.cc: Likewise.
* testsuite/bitset/input/1.cc: Likewise.
* testsuite/bitset/operations/1.cc: Likewise.
* testsuite/bitset/operations/13838.cc: Likewise.
* testsuite/bitset/operations/2.cc: Likewise.
* testsuite/bitset/test/1.cc: Likewise.
* testsuite/bitset/to_string/1.cc: Likewise.
* testsuite/bitset/to_string/dr396.cc: Likewise.
* testsuite/bitset/to_ullong/1.cc: Likewise.
* testsuite/bitset/to_ulong/1.cc: Likewise.
* testsuite/deque/allocator/copy.cc: Likewise.
* testsuite/deque/allocator/copy_assign.cc: Likewise.
* testsuite/deque/allocator/ext_ptr.cc: Likewise.
* testsuite/deque/allocator/minimal.cc: Likewise.
* testsuite/deque/allocator/move.cc: Likewise.
* testsuite/deque/allocator/move_assign.cc: Likewise.
* testsuite/deque/allocator/swap.cc: Likewise.
* testsuite/deque/capacity/29134-2.cc: Likewise.
* testsuite/deque/capacity/29134.cc: Likewise.
* testsuite/deque/capacity/moveable.cc: Likewise.
* testsuite/deque/capacity/resize_size.cc: Likewise.
* testsuite/deque/capacity/shrink_to_fit.cc: Likewise.
* testsuite/deque/cons/1.cc: Likewise.
* testsuite/deque/cons/2.cc: Likewise.
* testsuite/deque/cons/assign/1.cc: Likewise.
* testsuite/deque/cons/cons_size.cc: Likewise.
* testsuite/deque/cons/moveable.cc: Likewise.
* testsuite/deque/modifiers/erase/1.cc: Likewise.
* testsuite/deque/modifiers/erase/2.cc: Likewise.
* testsuite/deque/modifiers/erase/3.cc: Likewise.
* testsuite/deque/modifiers/erase/moveable.cc: Likewise.
* testsuite/deque/modifiers/moveable.cc: Likewise.
* testsuite/deque/modifiers/push_back/49836.cc: Likewise.
* testsuite/deque/modifiers/push_front/49836.cc: Likewise.
* testsuite/deque/modifiers/swap/1.cc: Likewise.
* testsuite/deque/modifiers/swap/2.cc: Likewise.
* testsuite/deque/modifiers/swap/3.cc: Likewise.
* testsuite/deque/operators/1.cc: Likewise.
* testsuite/deque/operators/2.cc: Likewise.
* testsuite/forward_list/allocator/copy.cc: Likewise.
* testsuite/forward_list/allocator/copy_assign.cc: Likewise.
* testsuite/forward_list/allocator/ext_ptr.cc: Likewise.
* testsuite/forward_list/allocator/minimal.cc: Likewise.
* testsuite/forward_list/allocator/move.cc: Likewise.
* testsuite/forward_list/allocator/move_assign.cc: Likewise.
* testsuite/forward_list/allocator/swap.cc: Likewise.
* testsuite/forward_list/capacity/1.cc: Likewise.
* testsuite/forward_list/capacity/resize_size.cc: Likewise.
* testsuite/forward_list/comparable.cc: Likewise.
* testsuite/forward_list/cons/1.cc: Likewise.
* testsuite/forward_list/cons/2.cc: Likewise.
* testsuite/forward_list/cons/3.cc: Likewise.
* testsuite/forward_list/cons/4.cc: Likewise.
* testsuite/forward_list/cons/5.cc: Likewise.
* testsuite/forward_list/cons/6.cc: Likewise.
* testsuite/forward_list/cons/7.cc: Likewise.
* testsuite/forward_list/cons/8.cc: Likewise.
* testsuite/forward_list/cons/9.cc: Likewise.
* testsuite/forward_list/cons/cons_size.cc: Likewise.
* testsuite/forward_list/cons/moveable.cc: Likewise.
* testsuite/forward_list/debug/clear.cc: Likewise.
* testsuite/forward_list/debug/construct4_neg.cc: Likewise.
* testsuite/forward_list/debug/erase_after1_neg.cc: Likewise.
* testsuite/forward_list/debug/move_assign_neg.cc: Likewise.
* testsuite/forward_list/debug/move_constructor.cc: Likewise.
* testsuite/forward_list/debug/move_neg.cc: Likewise.
* testsuite/forward_list/debug/splice_after.cc: Likewise.
* testsuite/forward_list/debug/swap.cc: Likewise.
* testsuite/forward_list/modifiers/1.cc: Likewise.
* testsuite/forward_list/modifiers/2.cc: Likewise.
* testsuite/forward_list/modifiers/3.cc: Likewise.
* testsuite/forward_list/modifiers/4.cc: Likewise.
* testsuite/forward_list/modifiers/5.cc: Likewise.
* testsuite/forward_list/modifiers/6.cc: Likewise.
* testsuite/forward_list/operations/1.cc: Likewise.
* testsuite/forward_list/operations/2.cc: Likewise.
* testsuite/forward_list/operations/3.cc: Likewise.
* testsuite/forward_list/operations/4.cc: Likewise.
* testsuite/forward_list/operations/5.cc: Likewise.
* testsuite/forward_list/operations/6.cc: Likewise.
* testsuite/forward_list/operations/7.cc: Likewise.
* testsuite/forward_list/operations/remove_freed.cc: Likewise.
* testsuite/list/61347.cc: Likewise.
* testsuite/list/allocator/copy.cc: Likewise.
* testsuite/list/allocator/copy_assign.cc: Likewise.
* testsuite/list/allocator/minimal.cc: Likewise.
* testsuite/list/allocator/move.cc: Likewise.
* testsuite/list/allocator/move_assign.cc: Likewise.
* testsuite/list/allocator/swap.cc: Likewise.
* testsuite/list/capacity/1.h: Likewise.
* testsuite/list/capacity/29134.cc: Likewise.
* testsuite/list/capacity/resize_size.cc: Likewise.
* testsuite/list/cons/1.h: Likewise.
* testsuite/list/cons/2.h: Likewise.
* testsuite/list/cons/3.h: Likewise.
* testsuite/list/cons/4.h: Likewise.
* testsuite/list/cons/5.h: Likewise.
* testsuite/list/cons/6.h: Likewise.
* testsuite/list/cons/7.h: Likewise.
* testsuite/list/cons/8.h: Likewise.
* testsuite/list/cons/9.h: Likewise.
* testsuite/list/cons/cons_size.cc: Likewise.
* testsuite/list/cons/moveable.h: Likewise.
* testsuite/list/debug/invalidation/1.cc: Likewise.
* testsuite/list/debug/invalidation/2.cc: Likewise.
* testsuite/list/debug/invalidation/3.cc: Likewise.
* testsuite/list/debug/invalidation/4.cc: Likewise.
* testsuite/list/modifiers/1.h: Likewise.
* testsuite/list/modifiers/2.h: Likewise.
* testsuite/list/modifiers/3.h: Likewise.
* testsuite/list/modifiers/insert/25288.h: Likewise.
* testsuite/list/modifiers/swap/1.h: Likewise.
* testsuite/list/modifiers/swap/2.h: Likewise.
* testsuite/list/modifiers/swap/3.h: Likewise.
* testsuite/list/operations/1.h: Likewise.
* testsuite/list/operations/2.h: Likewise.
* testsuite/list/operations/3.h: Likewise.
* testsuite/list/operations/4.h: Likewise.
* testsuite/list/operations/42352.cc: Likewise.
* testsuite/map/allocator/copy.cc: Likewise.
* testsuite/map/allocator/copy_assign.cc: Likewise.
* testsuite/map/allocator/init-list.cc: Likewise.
* testsuite/map/allocator/minimal.cc: Likewise.
* testsuite/map/allocator/move.cc: Likewise.
* testsuite/map/allocator/move_assign.cc: Likewise.
* testsuite/map/allocator/swap.cc: Likewise.
* testsuite/map/capacity/29134.cc: Likewise.
* testsuite/map/cons/moveable.cc: Likewise.
* testsuite/map/debug/construct5_neg.cc: Likewise.
* testsuite/map/debug/move_assign_neg.cc: Likewise.
* testsuite/map/debug/move_neg.cc: Likewise.
* testsuite/map/element_access/1.cc: Likewise.
* testsuite/map/element_access/2.cc: Likewise.
* testsuite/map/element_access/39901.cc: Likewise.
* testsuite/map/init-list.cc: Likewise.
* testsuite/map/modifiers/dr130.cc: Likewise.
* testsuite/map/modifiers/emplace/1.cc: Likewise.
* testsuite/map/modifiers/extract.cc: Likewise.
* testsuite/map/modifiers/insert/1.cc: Likewise.
* testsuite/map/modifiers/insert/16813.cc: Likewise.
* testsuite/map/modifiers/insert/2.cc: Likewise.
* testsuite/map/modifiers/insert/3.cc: Likewise.
* testsuite/map/modifiers/insert/4.cc: Likewise.
* testsuite/map/modifiers/insert/5.cc: Likewise.
* testsuite/map/modifiers/insert_or_assign/1.cc: Likewise.
* testsuite/map/modifiers/merge.cc: Likewise.
* testsuite/map/modifiers/swap/1.cc: Likewise.
* testsuite/map/modifiers/swap/2.cc: Likewise.
* testsuite/map/modifiers/swap/3.cc: Likewise.
* testsuite/map/modifiers/try_emplace/1.cc: Likewise.
* testsuite/map/operations/1.cc: Likewise.
* testsuite/map/operations/count.cc: Likewise.
* testsuite/map/operators/1_neg.cc: Likewise.
* testsuite/map/operators/2.cc: Likewise.
* testsuite/multimap/allocator/copy.cc: Likewise.
* testsuite/multimap/allocator/copy_assign.cc: Likewise.
* testsuite/multimap/allocator/init-list.cc: Likewise.
* testsuite/multimap/allocator/minimal.cc: Likewise.
* testsuite/multimap/allocator/move.cc: Likewise.
* testsuite/multimap/allocator/move_assign.cc: Likewise.
* testsuite/multimap/allocator/swap.cc: Likewise.
* testsuite/multimap/capacity/29134.cc: Likewise.
* testsuite/multimap/cons/moveable.cc: Likewise.
* testsuite/multimap/debug/construct5_neg.cc: Likewise.
* testsuite/multimap/debug/move_assign_neg.cc: Likewise.
* testsuite/multimap/debug/move_neg.cc: Likewise.
* testsuite/multimap/init-list.cc: Likewise.
* testsuite/multimap/modifiers/dr130.cc: Likewise.
* testsuite/multimap/modifiers/emplace/1.cc: Likewise.
* testsuite/multimap/modifiers/extract.cc: Likewise.
* testsuite/multimap/modifiers/insert/1.cc: Likewise.
* testsuite/multimap/modifiers/insert/2.cc: Likewise.
* testsuite/multimap/modifiers/insert/22102.cc: Likewise.
* testsuite/multimap/modifiers/insert/3.cc: Likewise.
* testsuite/multimap/modifiers/insert/4.cc: Likewise.
* testsuite/multimap/modifiers/merge.cc: Likewise.
* testsuite/multimap/modifiers/swap/1.cc: Likewise.
* testsuite/multimap/modifiers/swap/2.cc: Likewise.
* testsuite/multimap/modifiers/swap/3.cc: Likewise.
* testsuite/multimap/operations/1.cc: Likewise.
* testsuite/multimap/operations/count.cc: Likewise.
* testsuite/multiset/allocator/copy.cc: Likewise.
* testsuite/multiset/allocator/copy_assign.cc: Likewise.
* testsuite/multiset/allocator/init-list.cc: Likewise.
* testsuite/multiset/allocator/minimal.cc: Likewise.
* testsuite/multiset/allocator/move.cc: Likewise.
* testsuite/multiset/allocator/move_assign.cc: Likewise.
* testsuite/multiset/allocator/swap.cc: Likewise.
* testsuite/multiset/capacity/29134.cc: Likewise.
* testsuite/multiset/cons/moveable.cc: Likewise.
* testsuite/multiset/debug/construct5_neg.cc: Likewise.
* testsuite/multiset/debug/invalidation/2.cc: Likewise.
* testsuite/multiset/debug/move_assign_neg.cc: Likewise.
* testsuite/multiset/debug/move_neg.cc: Likewise.
* testsuite/multiset/init-list.cc: Likewise.
* testsuite/multiset/modifiers/dr130.cc: Likewise.
* testsuite/multiset/modifiers/emplace/1.cc: Likewise.
* testsuite/multiset/modifiers/extract.cc: Likewise.
* testsuite/multiset/modifiers/insert/1.cc: Likewise.
* testsuite/multiset/modifiers/insert/2.cc: Likewise.
* testsuite/multiset/modifiers/insert/22102.cc: Likewise.
* testsuite/multiset/modifiers/insert/3.cc: Likewise.
* testsuite/multiset/modifiers/insert/4.cc: Likewise.
* testsuite/multiset/modifiers/merge.cc: Likewise.
* testsuite/multiset/modifiers/swap/1.cc: Likewise.
* testsuite/multiset/modifiers/swap/2.cc: Likewise.
* testsuite/multiset/modifiers/swap/3.cc: Likewise.
* testsuite/multiset/operations/1.cc: Likewise.
* testsuite/multiset/operations/count.cc: Likewise.
* testsuite/priority_queue/moveable.cc: Likewise.
* testsuite/queue/moveable.cc: Likewise.
* testsuite/set/allocator/copy.cc: Likewise.
* testsuite/set/allocator/copy_assign.cc: Likewise.
* testsuite/set/allocator/init-list.cc: Likewise.
* testsuite/set/allocator/minimal.cc: Likewise.
* testsuite/set/allocator/move.cc: Likewise.
* testsuite/set/allocator/move_assign.cc: Likewise.
* testsuite/set/allocator/swap.cc: Likewise.
* testsuite/set/capacity/29134.cc: Likewise.
* testsuite/set/cons/moveable.cc: Likewise.
* testsuite/set/debug/construct5_neg.cc: Likewise.
* testsuite/set/debug/invalidation/2.cc: Likewise.
* testsuite/set/debug/move_assign_neg.cc: Likewise.
* testsuite/set/debug/move_neg.cc: Likewise.
* testsuite/set/init-list.cc: Likewise.
* testsuite/set/modifiers/17948.cc: Likewise.
* testsuite/set/modifiers/dr130.cc: Likewise.
* testsuite/set/modifiers/emplace/1.cc: Likewise.
* testsuite/set/modifiers/extract.cc: Likewise.
* testsuite/set/modifiers/insert/1.cc: Likewise.
* testsuite/set/modifiers/insert/2.cc: Likewise.
* testsuite/set/modifiers/insert/3.cc: Likewise.
* testsuite/set/modifiers/merge.cc: Likewise.
* testsuite/set/modifiers/swap/1.cc: Likewise.
* testsuite/set/modifiers/swap/2.cc: Likewise.
* testsuite/set/modifiers/swap/3.cc: Likewise.
* testsuite/set/operations/1.cc: Likewise.
* testsuite/set/operations/count.cc: Likewise.
* testsuite/set/operators/1_neg.cc: Likewise.
* testsuite/unordered_map/allocator/copy.cc: Likewise.
* testsuite/unordered_map/allocator/copy_assign.cc: Likewise.
* testsuite/unordered_map/allocator/minimal.cc: Likewise.
* testsuite/unordered_map/allocator/move.cc: Likewise.
* testsuite/unordered_map/allocator/move_assign.cc: Likewise.
* testsuite/unordered_map/allocator/swap.cc: Likewise.
* testsuite/unordered_map/cons/moveable.cc: Likewise.
* testsuite/unordered_map/debug/construct5_neg.cc: Likewise.
* testsuite/unordered_map/debug/move_assign_neg.cc: Likewise.
* testsuite/unordered_map/debug/move_neg.cc: Likewise.
* testsuite/unordered_map/dr761.cc: Likewise.
* testsuite/unordered_map/erase/1.cc: Likewise.
* testsuite/unordered_map/erase/24061-map.cc: Likewise.
* testsuite/unordered_map/erase/54276.cc: Likewise.
* testsuite/unordered_map/hash_policy/dr1189.cc: Likewise.
* testsuite/unordered_map/init-list.cc: Likewise.
* testsuite/unordered_map/insert/24061-map.cc: Likewise.
* testsuite/unordered_map/insert/57619.C: Likewise.
* testsuite/unordered_map/insert/array_syntax.cc: Likewise.
* testsuite/unordered_map/insert/array_syntax_move.cc: Likewise.
* testsuite/unordered_map/insert/map_range.cc: Likewise.
* testsuite/unordered_map/insert/map_single.cc: Likewise.
* testsuite/unordered_map/insert/map_single_move-1.cc: Likewise.
* testsuite/unordered_map/insert/map_single_move-2.cc: Likewise.
* testsuite/unordered_map/modifiers/61667.cc: Likewise.
* testsuite/unordered_map/modifiers/emplace.cc: Likewise.
* testsuite/unordered_map/modifiers/extract.cc: Likewise.
* testsuite/unordered_map/modifiers/insert_or_assign.cc: Likewise.
* testsuite/unordered_map/modifiers/merge.cc: Likewise.
* testsuite/unordered_map/modifiers/reserve.cc: Likewise.
* testsuite/unordered_map/modifiers/try_emplace.cc: Likewise.
* testsuite/unordered_map/operations/count.cc: Likewise.
* testsuite/unordered_map/operators/1.cc: Likewise.
* testsuite/unordered_map/operators/2.cc: Likewise.
* testsuite/unordered_multimap/allocator/copy.cc: Likewise.
* testsuite/unordered_multimap/allocator/copy_assign.cc: Likewise.
* testsuite/unordered_multimap/allocator/minimal.cc: Likewise.
* testsuite/unordered_multimap/allocator/move.cc: Likewise.
* testsuite/unordered_multimap/allocator/move_assign.cc: Likewise.
* testsuite/unordered_multimap/allocator/swap.cc: Likewise.
* testsuite/unordered_multimap/cons/moveable.cc: Likewise.
* testsuite/unordered_multimap/debug/construct5_neg.cc: Likewise.
* testsuite/unordered_multimap/debug/move_assign_neg.cc: Likewise.
* testsuite/unordered_multimap/debug/move_neg.cc: Likewise.
* testsuite/unordered_multimap/erase/1.cc: Likewise.
* testsuite/unordered_multimap/erase/2.cc: Likewise.
* testsuite/unordered_multimap/erase/24061-multimap.cc: Likewise.
* testsuite/unordered_multimap/erase/51845-multimap.cc: Likewise.
* testsuite/unordered_multimap/erase/54276.cc: Likewise.
* testsuite/unordered_multimap/hash_policy/dr1189.cc: Likewise.
* testsuite/unordered_multimap/init-list.cc: Likewise.
* testsuite/unordered_multimap/insert/24061-multimap.cc: Likewise.
* testsuite/unordered_multimap/insert/51866.cc: Likewise.
* testsuite/unordered_multimap/insert/52476.cc: Likewise.
* testsuite/unordered_multimap/insert/53115.cc: Likewise.
* testsuite/unordered_multimap/insert/57619.C: Likewise.
* testsuite/unordered_multimap/insert/hint.cc: Likewise.
* testsuite/unordered_multimap/insert/multimap_range.cc: Likewise.
* testsuite/unordered_multimap/insert/multimap_single.cc: Likewise.
* testsuite/unordered_multimap/insert/multimap_single_move-1.cc:
Likewise.
* testsuite/unordered_multimap/insert/multimap_single_move-2.cc:
Likewise.
* testsuite/unordered_multimap/modifiers/emplace.cc: Likewise.
* testsuite/unordered_multimap/modifiers/extract.cc: Likewise.
* testsuite/unordered_multimap/modifiers/merge.cc: Likewise.
* testsuite/unordered_multimap/modifiers/reserve.cc: Likewise.
* testsuite/unordered_multimap/operations/count.cc: Likewise.
* testsuite/unordered_multimap/operators/1.cc: Likewise.
* testsuite/unordered_multimap/operators/2.cc: Likewise.
* testsuite/unordered_multiset/allocator/copy.cc: Likewise.
* testsuite/unordered_multiset/allocator/copy_assign.cc: Likewise.
* testsuite/unordered_multiset/allocator/minimal.cc: Likewise.
* testsuite/unordered_multiset/allocator/move.cc: Likewise.
* testsuite/unordered_multiset/allocator/move_assign.cc: Likewise.
* testsuite/unordered_multiset/allocator/swap.cc: Likewise.
* testsuite/unordered_multiset/cons/copy.cc: Likewise.
* testsuite/unordered_multiset/cons/moveable.cc: Likewise.
* testsuite/unordered_multiset/debug/construct5_neg.cc: Likewise.
* testsuite/unordered_multiset/debug/move_assign_neg.cc: Likewise.
* testsuite/unordered_multiset/debug/move_neg.cc: Likewise.
* testsuite/unordered_multiset/erase/1.cc: Likewise.
* testsuite/unordered_multiset/erase/2.cc: Likewise.
* testsuite/unordered_multiset/erase/24061-multiset.cc: Likewise.
* testsuite/unordered_multiset/hash_policy/dr1189.cc: Likewise.
* testsuite/unordered_multiset/init-list.cc: Likewise.
* testsuite/unordered_multiset/insert/24061-multiset.cc: Likewise.
* testsuite/unordered_multiset/insert/51866.cc: Likewise.
* testsuite/unordered_multiset/insert/52476.cc: Likewise.
* testsuite/unordered_multiset/insert/53115.cc: Likewise.
* testsuite/unordered_multiset/insert/hash_policy.cc: Likewise.
* testsuite/unordered_multiset/insert/multiset_range.cc: Likewise.
* testsuite/unordered_multiset/insert/multiset_single.cc: Likewise.
* testsuite/unordered_multiset/insert/multiset_single_move.cc: Likewise.
* testsuite/unordered_multiset/modifiers/emplace.cc: Likewise.
* testsuite/unordered_multiset/modifiers/extract.cc: Likewise.
* testsuite/unordered_multiset/modifiers/merge.cc: Likewise.
* testsuite/unordered_multiset/modifiers/reserve.cc: Likewise.
* testsuite/unordered_multiset/operations/count.cc: Likewise.
* testsuite/unordered_multiset/operators/1.cc: Likewise.
* testsuite/unordered_set/allocator/copy.cc: Likewise.
* testsuite/unordered_set/allocator/copy_assign.cc: Likewise.
* testsuite/unordered_set/allocator/ext_ptr.cc: Likewise.
* testsuite/unordered_set/allocator/minimal.cc: Likewise.
* testsuite/unordered_set/allocator/move.cc: Likewise.
* testsuite/unordered_set/allocator/move_assign.cc: Likewise.
* testsuite/unordered_set/allocator/swap.cc: Likewise.
* testsuite/unordered_set/buckets/swap.cc: Likewise.
* testsuite/unordered_set/cons/moveable.cc: Likewise.
* testsuite/unordered_set/debug/construct5_neg.cc: Likewise.
* testsuite/unordered_set/debug/debug_functions.cc: Likewise.
* testsuite/unordered_set/debug/move_assign_neg.cc: Likewise.
* testsuite/unordered_set/debug/move_neg.cc: Likewise.
* testsuite/unordered_set/erase/1.cc: Likewise.
* testsuite/unordered_set/erase/24061-set.cc: Likewise.
* testsuite/unordered_set/hash_policy/26132.cc: Likewise.
* testsuite/unordered_set/hash_policy/71181.cc: Likewise.
* testsuite/unordered_set/hash_policy/dr1189.cc: Likewise.
* testsuite/unordered_set/hash_policy/load_factor.cc: Likewise.
* testsuite/unordered_set/hash_policy/power2_rehash.cc: Likewise.
* testsuite/unordered_set/hash_policy/prime_rehash.cc: Likewise.
* testsuite/unordered_set/hash_policy/rehash.cc: Likewise.
* testsuite/unordered_set/init-list.cc: Likewise.
* testsuite/unordered_set/insert/24061-set.cc: Likewise.
* testsuite/unordered_set/insert/hash_policy.cc: Likewise.
* testsuite/unordered_set/insert/move_range.cc: Likewise.
* testsuite/unordered_set/insert/set_range.cc: Likewise.
* testsuite/unordered_set/insert/set_single.cc: Likewise.
* testsuite/unordered_set/insert/set_single_move.cc: Likewise.
* testsuite/unordered_set/max_load_factor/robustness.cc: Likewise.
* testsuite/unordered_set/modifiers/emplace.cc: Likewise.
* testsuite/unordered_set/modifiers/extract.cc: Likewise.
* testsuite/unordered_set/modifiers/merge.cc: Likewise.
* testsuite/unordered_set/modifiers/reserve.cc: Likewise.
* testsuite/unordered_set/modifiers/swap.cc: Likewise.
* testsuite/unordered_set/operations/count.cc: Likewise.
* testsuite/unordered_set/operators/1.cc: Likewise.
* testsuite/vector/allocator/copy.cc: Likewise.
* testsuite/vector/allocator/copy_assign.cc: Likewise.
* testsuite/vector/allocator/ext_ptr.cc: Likewise.
* testsuite/vector/allocator/minimal.cc: Likewise.
* testsuite/vector/allocator/move.cc: Likewise.
* testsuite/vector/allocator/move_assign.cc: Likewise.
* testsuite/vector/allocator/swap.cc: Likewise.
* testsuite/vector/bool/6886.cc: Likewise.
* testsuite/vector/bool/72847.cc: Likewise.
* testsuite/vector/bool/allocator/copy.cc: Likewise.
* testsuite/vector/bool/allocator/copy_assign.cc: Likewise.
* testsuite/vector/bool/allocator/ext_ptr.cc: Likewise.
* testsuite/vector/bool/allocator/move.cc: Likewise.
* testsuite/vector/bool/allocator/move_assign.cc: Likewise.
* testsuite/vector/bool/allocator/swap.cc: Likewise.
* testsuite/vector/bool/capacity/1.cc: Likewise.
* testsuite/vector/bool/capacity/29134.cc: Likewise.
* testsuite/vector/bool/capacity/shrink_to_fit.cc: Likewise.
* testsuite/vector/bool/cons/1.cc: Likewise.
* testsuite/vector/bool/cons/2.cc: Likewise.
* testsuite/vector/bool/modifiers/erase/1.cc: Likewise.
* testsuite/vector/bool/modifiers/insert/1.cc: Likewise.
* testsuite/vector/bool/modifiers/insert/31370.cc: Likewise.
* testsuite/vector/bool/modifiers/swap/1.cc: Likewise.
* testsuite/vector/bool/modifiers/swap/2.cc: Likewise.
* testsuite/vector/bool/swap.cc: Likewise.
* testsuite/vector/capacity/1.cc: Likewise.
* testsuite/vector/capacity/2.cc: Likewise.
* testsuite/vector/capacity/29134-2.cc: Likewise.
* testsuite/vector/capacity/29134.cc: Likewise.
* testsuite/vector/capacity/44190.cc: Likewise.
* testsuite/vector/capacity/8230.cc: Likewise.
* testsuite/vector/capacity/reserve/moveable.cc: Likewise.
* testsuite/vector/capacity/reserve/moveable2.cc: Likewise.
* testsuite/vector/capacity/resize/1.cc: Likewise.
* testsuite/vector/capacity/resize/moveable.cc: Likewise.
* testsuite/vector/capacity/resize/moveable2.cc: Likewise.
* testsuite/vector/capacity/resize/resize_size.cc: Likewise.
* testsuite/vector/capacity/shrink_to_fit.cc: Likewise.
* testsuite/vector/capacity/shrink_to_fit2.cc: Likewise.
* testsuite/vector/cons/3.cc: Likewise.
* testsuite/vector/cons/4.cc: Likewise.
* testsuite/vector/cons/cons_size.cc: Likewise.
* testsuite/vector/cons/moveable.cc: Likewise.
* testsuite/vector/data_access/1.cc: Likewise.
* testsuite/vector/debug/debug_functions.cc: Likewise.
* testsuite/vector/debug/move_assign_neg.cc: Likewise.
* testsuite/vector/debug/move_neg.cc: Likewise.
* testsuite/vector/debug/multithreaded_swap.cc: Likewise.
* testsuite/vector/element_access/1.cc: Likewise.
* testsuite/vector/ext_pointer/citerators.cc: Likewise.
* testsuite/vector/ext_pointer/data_access.cc: Likewise.
* testsuite/vector/ext_pointer/modifiers/element.cc: Likewise.
* testsuite/vector/ext_pointer/modifiers/erase.cc: Likewise.
* testsuite/vector/ext_pointer/modifiers/insert.cc: Likewise.
* testsuite/vector/ext_pointer/resize.cc: Likewise.
* testsuite/vector/modifiers/1.cc: Likewise.
* testsuite/vector/modifiers/2.cc: Likewise.
* testsuite/vector/modifiers/emplace/self_emplace.cc: Likewise.
* testsuite/vector/modifiers/erase/1.cc: Likewise.
* testsuite/vector/modifiers/erase/moveable.cc: Likewise.
* testsuite/vector/modifiers/insert/1.cc: Likewise.
* testsuite/vector/modifiers/insert/self_insert.cc: Likewise.
* testsuite/vector/modifiers/moveable.cc: Likewise.
* testsuite/vector/modifiers/moveable2.cc: Likewise.
* testsuite/vector/modifiers/push_back/49836.cc: Likewise.
* testsuite/vector/modifiers/swap/1.cc: Likewise.
* testsuite/vector/modifiers/swap/2.cc: Likewise.
* testsuite/vector/modifiers/swap/3.cc: Likewise.
* testsuite/vector/zero_sized_allocations.cc: Likewise.

From-SVN: r241241

479 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/23_containers/array/capacity/empty.cc
libstdc++-v3/testsuite/23_containers/array/capacity/max_size.cc
libstdc++-v3/testsuite/23_containers/array/capacity/size.cc
libstdc++-v3/testsuite/23_containers/array/comparison_operators/equal.cc
libstdc++-v3/testsuite/23_containers/array/comparison_operators/greater.cc
libstdc++-v3/testsuite/23_containers/array/comparison_operators/greater_or_equal.cc
libstdc++-v3/testsuite/23_containers/array/comparison_operators/less.cc
libstdc++-v3/testsuite/23_containers/array/comparison_operators/less_or_equal.cc
libstdc++-v3/testsuite/23_containers/array/comparison_operators/not_equal.cc
libstdc++-v3/testsuite/23_containers/array/element_access/54388.cc
libstdc++-v3/testsuite/23_containers/array/element_access/at_out_of_range.cc
libstdc++-v3/testsuite/23_containers/array/element_access/back.cc
libstdc++-v3/testsuite/23_containers/array/element_access/data.cc
libstdc++-v3/testsuite/23_containers/array/element_access/front.cc
libstdc++-v3/testsuite/23_containers/array/iterators/end_is_one_past.cc
libstdc++-v3/testsuite/23_containers/array/requirements/contiguous.cc
libstdc++-v3/testsuite/23_containers/array/requirements/fill.cc
libstdc++-v3/testsuite/23_containers/array/requirements/member_swap.cc
libstdc++-v3/testsuite/23_containers/array/requirements/zero_sized_arrays.cc
libstdc++-v3/testsuite/23_containers/array/specialized_algorithms/swap.cc
libstdc++-v3/testsuite/23_containers/array/tuple_interface/tuple_element.cc
libstdc++-v3/testsuite/23_containers/array/tuple_interface/tuple_element_cpp14.cc
libstdc++-v3/testsuite/23_containers/array/tuple_interface/tuple_size.cc
libstdc++-v3/testsuite/23_containers/bitset/all/1.cc
libstdc++-v3/testsuite/23_containers/bitset/cons/1.cc
libstdc++-v3/testsuite/23_containers/bitset/cons/16020.cc
libstdc++-v3/testsuite/23_containers/bitset/cons/2.cc
libstdc++-v3/testsuite/23_containers/bitset/cons/3.cc
libstdc++-v3/testsuite/23_containers/bitset/cons/50268.cc
libstdc++-v3/testsuite/23_containers/bitset/cons/6282.cc
libstdc++-v3/testsuite/23_containers/bitset/cons/dr1325-2.cc
libstdc++-v3/testsuite/23_containers/bitset/cons/dr396.cc
libstdc++-v3/testsuite/23_containers/bitset/ext/15361.cc
libstdc++-v3/testsuite/23_containers/bitset/input/1.cc
libstdc++-v3/testsuite/23_containers/bitset/operations/1.cc
libstdc++-v3/testsuite/23_containers/bitset/operations/13838.cc
libstdc++-v3/testsuite/23_containers/bitset/operations/2.cc
libstdc++-v3/testsuite/23_containers/bitset/test/1.cc
libstdc++-v3/testsuite/23_containers/bitset/to_string/1.cc
libstdc++-v3/testsuite/23_containers/bitset/to_string/dr396.cc
libstdc++-v3/testsuite/23_containers/bitset/to_ullong/1.cc
libstdc++-v3/testsuite/23_containers/bitset/to_ulong/1.cc
libstdc++-v3/testsuite/23_containers/deque/allocator/copy.cc
libstdc++-v3/testsuite/23_containers/deque/allocator/copy_assign.cc
libstdc++-v3/testsuite/23_containers/deque/allocator/ext_ptr.cc
libstdc++-v3/testsuite/23_containers/deque/allocator/minimal.cc
libstdc++-v3/testsuite/23_containers/deque/allocator/move.cc
libstdc++-v3/testsuite/23_containers/deque/allocator/move_assign.cc
libstdc++-v3/testsuite/23_containers/deque/allocator/swap.cc
libstdc++-v3/testsuite/23_containers/deque/capacity/29134-2.cc
libstdc++-v3/testsuite/23_containers/deque/capacity/29134.cc
libstdc++-v3/testsuite/23_containers/deque/capacity/moveable.cc
libstdc++-v3/testsuite/23_containers/deque/capacity/resize_size.cc
libstdc++-v3/testsuite/23_containers/deque/capacity/shrink_to_fit.cc
libstdc++-v3/testsuite/23_containers/deque/cons/1.cc
libstdc++-v3/testsuite/23_containers/deque/cons/2.cc
libstdc++-v3/testsuite/23_containers/deque/cons/assign/1.cc
libstdc++-v3/testsuite/23_containers/deque/cons/cons_size.cc
libstdc++-v3/testsuite/23_containers/deque/cons/moveable.cc
libstdc++-v3/testsuite/23_containers/deque/modifiers/erase/1.cc
libstdc++-v3/testsuite/23_containers/deque/modifiers/erase/2.cc
libstdc++-v3/testsuite/23_containers/deque/modifiers/erase/3.cc
libstdc++-v3/testsuite/23_containers/deque/modifiers/erase/moveable.cc
libstdc++-v3/testsuite/23_containers/deque/modifiers/moveable.cc
libstdc++-v3/testsuite/23_containers/deque/modifiers/push_back/49836.cc
libstdc++-v3/testsuite/23_containers/deque/modifiers/push_front/49836.cc
libstdc++-v3/testsuite/23_containers/deque/modifiers/swap/1.cc
libstdc++-v3/testsuite/23_containers/deque/modifiers/swap/2.cc
libstdc++-v3/testsuite/23_containers/deque/modifiers/swap/3.cc
libstdc++-v3/testsuite/23_containers/deque/operators/1.cc
libstdc++-v3/testsuite/23_containers/deque/operators/2.cc
libstdc++-v3/testsuite/23_containers/forward_list/allocator/copy.cc
libstdc++-v3/testsuite/23_containers/forward_list/allocator/copy_assign.cc
libstdc++-v3/testsuite/23_containers/forward_list/allocator/ext_ptr.cc
libstdc++-v3/testsuite/23_containers/forward_list/allocator/minimal.cc
libstdc++-v3/testsuite/23_containers/forward_list/allocator/move.cc
libstdc++-v3/testsuite/23_containers/forward_list/allocator/move_assign.cc
libstdc++-v3/testsuite/23_containers/forward_list/allocator/swap.cc
libstdc++-v3/testsuite/23_containers/forward_list/capacity/1.cc
libstdc++-v3/testsuite/23_containers/forward_list/capacity/resize_size.cc
libstdc++-v3/testsuite/23_containers/forward_list/comparable.cc
libstdc++-v3/testsuite/23_containers/forward_list/cons/1.cc
libstdc++-v3/testsuite/23_containers/forward_list/cons/2.cc
libstdc++-v3/testsuite/23_containers/forward_list/cons/3.cc
libstdc++-v3/testsuite/23_containers/forward_list/cons/4.cc
libstdc++-v3/testsuite/23_containers/forward_list/cons/5.cc
libstdc++-v3/testsuite/23_containers/forward_list/cons/6.cc
libstdc++-v3/testsuite/23_containers/forward_list/cons/7.cc
libstdc++-v3/testsuite/23_containers/forward_list/cons/8.cc
libstdc++-v3/testsuite/23_containers/forward_list/cons/9.cc
libstdc++-v3/testsuite/23_containers/forward_list/cons/cons_size.cc
libstdc++-v3/testsuite/23_containers/forward_list/cons/moveable.cc
libstdc++-v3/testsuite/23_containers/forward_list/debug/clear.cc
libstdc++-v3/testsuite/23_containers/forward_list/debug/construct4_neg.cc
libstdc++-v3/testsuite/23_containers/forward_list/debug/erase_after1_neg.cc
libstdc++-v3/testsuite/23_containers/forward_list/debug/move_assign_neg.cc
libstdc++-v3/testsuite/23_containers/forward_list/debug/move_constructor.cc
libstdc++-v3/testsuite/23_containers/forward_list/debug/move_neg.cc
libstdc++-v3/testsuite/23_containers/forward_list/debug/splice_after.cc
libstdc++-v3/testsuite/23_containers/forward_list/debug/swap.cc
libstdc++-v3/testsuite/23_containers/forward_list/modifiers/1.cc
libstdc++-v3/testsuite/23_containers/forward_list/modifiers/2.cc
libstdc++-v3/testsuite/23_containers/forward_list/modifiers/3.cc
libstdc++-v3/testsuite/23_containers/forward_list/modifiers/4.cc
libstdc++-v3/testsuite/23_containers/forward_list/modifiers/5.cc
libstdc++-v3/testsuite/23_containers/forward_list/modifiers/6.cc
libstdc++-v3/testsuite/23_containers/forward_list/operations/1.cc
libstdc++-v3/testsuite/23_containers/forward_list/operations/2.cc
libstdc++-v3/testsuite/23_containers/forward_list/operations/3.cc
libstdc++-v3/testsuite/23_containers/forward_list/operations/4.cc
libstdc++-v3/testsuite/23_containers/forward_list/operations/5.cc
libstdc++-v3/testsuite/23_containers/forward_list/operations/6.cc
libstdc++-v3/testsuite/23_containers/forward_list/operations/7.cc
libstdc++-v3/testsuite/23_containers/forward_list/operations/remove_freed.cc
libstdc++-v3/testsuite/23_containers/list/61347.cc
libstdc++-v3/testsuite/23_containers/list/allocator/copy.cc
libstdc++-v3/testsuite/23_containers/list/allocator/copy_assign.cc
libstdc++-v3/testsuite/23_containers/list/allocator/minimal.cc
libstdc++-v3/testsuite/23_containers/list/allocator/move.cc
libstdc++-v3/testsuite/23_containers/list/allocator/move_assign.cc
libstdc++-v3/testsuite/23_containers/list/allocator/swap.cc
libstdc++-v3/testsuite/23_containers/list/capacity/1.h
libstdc++-v3/testsuite/23_containers/list/capacity/29134.cc
libstdc++-v3/testsuite/23_containers/list/capacity/resize_size.cc
libstdc++-v3/testsuite/23_containers/list/cons/1.h
libstdc++-v3/testsuite/23_containers/list/cons/2.h
libstdc++-v3/testsuite/23_containers/list/cons/3.h
libstdc++-v3/testsuite/23_containers/list/cons/4.h
libstdc++-v3/testsuite/23_containers/list/cons/5.h
libstdc++-v3/testsuite/23_containers/list/cons/6.h
libstdc++-v3/testsuite/23_containers/list/cons/7.h
libstdc++-v3/testsuite/23_containers/list/cons/8.h
libstdc++-v3/testsuite/23_containers/list/cons/9.h
libstdc++-v3/testsuite/23_containers/list/cons/cons_size.cc
libstdc++-v3/testsuite/23_containers/list/cons/moveable.h
libstdc++-v3/testsuite/23_containers/list/debug/invalidation/1.cc
libstdc++-v3/testsuite/23_containers/list/debug/invalidation/2.cc
libstdc++-v3/testsuite/23_containers/list/debug/invalidation/3.cc
libstdc++-v3/testsuite/23_containers/list/debug/invalidation/4.cc
libstdc++-v3/testsuite/23_containers/list/modifiers/1.h
libstdc++-v3/testsuite/23_containers/list/modifiers/2.h
libstdc++-v3/testsuite/23_containers/list/modifiers/3.h
libstdc++-v3/testsuite/23_containers/list/modifiers/insert/25288.h
libstdc++-v3/testsuite/23_containers/list/modifiers/swap/1.h
libstdc++-v3/testsuite/23_containers/list/modifiers/swap/2.h
libstdc++-v3/testsuite/23_containers/list/modifiers/swap/3.h
libstdc++-v3/testsuite/23_containers/list/operations/1.h
libstdc++-v3/testsuite/23_containers/list/operations/2.h
libstdc++-v3/testsuite/23_containers/list/operations/3.h
libstdc++-v3/testsuite/23_containers/list/operations/4.h
libstdc++-v3/testsuite/23_containers/list/operations/42352.cc
libstdc++-v3/testsuite/23_containers/map/allocator/copy.cc
libstdc++-v3/testsuite/23_containers/map/allocator/copy_assign.cc
libstdc++-v3/testsuite/23_containers/map/allocator/init-list.cc
libstdc++-v3/testsuite/23_containers/map/allocator/minimal.cc
libstdc++-v3/testsuite/23_containers/map/allocator/move.cc
libstdc++-v3/testsuite/23_containers/map/allocator/move_assign.cc
libstdc++-v3/testsuite/23_containers/map/allocator/swap.cc
libstdc++-v3/testsuite/23_containers/map/capacity/29134.cc
libstdc++-v3/testsuite/23_containers/map/cons/moveable.cc
libstdc++-v3/testsuite/23_containers/map/debug/construct5_neg.cc
libstdc++-v3/testsuite/23_containers/map/debug/move_assign_neg.cc
libstdc++-v3/testsuite/23_containers/map/debug/move_neg.cc
libstdc++-v3/testsuite/23_containers/map/element_access/1.cc
libstdc++-v3/testsuite/23_containers/map/element_access/2.cc
libstdc++-v3/testsuite/23_containers/map/element_access/39901.cc
libstdc++-v3/testsuite/23_containers/map/init-list.cc
libstdc++-v3/testsuite/23_containers/map/modifiers/dr130.cc
libstdc++-v3/testsuite/23_containers/map/modifiers/emplace/1.cc
libstdc++-v3/testsuite/23_containers/map/modifiers/extract.cc
libstdc++-v3/testsuite/23_containers/map/modifiers/insert/1.cc
libstdc++-v3/testsuite/23_containers/map/modifiers/insert/16813.cc
libstdc++-v3/testsuite/23_containers/map/modifiers/insert/2.cc
libstdc++-v3/testsuite/23_containers/map/modifiers/insert/3.cc
libstdc++-v3/testsuite/23_containers/map/modifiers/insert/4.cc
libstdc++-v3/testsuite/23_containers/map/modifiers/insert/5.cc
libstdc++-v3/testsuite/23_containers/map/modifiers/insert_or_assign/1.cc
libstdc++-v3/testsuite/23_containers/map/modifiers/merge.cc
libstdc++-v3/testsuite/23_containers/map/modifiers/swap/1.cc
libstdc++-v3/testsuite/23_containers/map/modifiers/swap/2.cc
libstdc++-v3/testsuite/23_containers/map/modifiers/swap/3.cc
libstdc++-v3/testsuite/23_containers/map/modifiers/try_emplace/1.cc
libstdc++-v3/testsuite/23_containers/map/operations/1.cc
libstdc++-v3/testsuite/23_containers/map/operations/count.cc
libstdc++-v3/testsuite/23_containers/map/operators/1_neg.cc
libstdc++-v3/testsuite/23_containers/map/operators/2.cc
libstdc++-v3/testsuite/23_containers/multimap/allocator/copy.cc
libstdc++-v3/testsuite/23_containers/multimap/allocator/copy_assign.cc
libstdc++-v3/testsuite/23_containers/multimap/allocator/init-list.cc
libstdc++-v3/testsuite/23_containers/multimap/allocator/minimal.cc
libstdc++-v3/testsuite/23_containers/multimap/allocator/move.cc
libstdc++-v3/testsuite/23_containers/multimap/allocator/move_assign.cc
libstdc++-v3/testsuite/23_containers/multimap/allocator/swap.cc
libstdc++-v3/testsuite/23_containers/multimap/capacity/29134.cc
libstdc++-v3/testsuite/23_containers/multimap/cons/moveable.cc
libstdc++-v3/testsuite/23_containers/multimap/debug/construct5_neg.cc
libstdc++-v3/testsuite/23_containers/multimap/debug/move_assign_neg.cc
libstdc++-v3/testsuite/23_containers/multimap/debug/move_neg.cc
libstdc++-v3/testsuite/23_containers/multimap/init-list.cc
libstdc++-v3/testsuite/23_containers/multimap/modifiers/dr130.cc
libstdc++-v3/testsuite/23_containers/multimap/modifiers/emplace/1.cc
libstdc++-v3/testsuite/23_containers/multimap/modifiers/extract.cc
libstdc++-v3/testsuite/23_containers/multimap/modifiers/insert/1.cc
libstdc++-v3/testsuite/23_containers/multimap/modifiers/insert/2.cc
libstdc++-v3/testsuite/23_containers/multimap/modifiers/insert/22102.cc
libstdc++-v3/testsuite/23_containers/multimap/modifiers/insert/3.cc
libstdc++-v3/testsuite/23_containers/multimap/modifiers/insert/4.cc
libstdc++-v3/testsuite/23_containers/multimap/modifiers/merge.cc
libstdc++-v3/testsuite/23_containers/multimap/modifiers/swap/1.cc
libstdc++-v3/testsuite/23_containers/multimap/modifiers/swap/2.cc
libstdc++-v3/testsuite/23_containers/multimap/modifiers/swap/3.cc
libstdc++-v3/testsuite/23_containers/multimap/operations/1.cc
libstdc++-v3/testsuite/23_containers/multimap/operations/count.cc
libstdc++-v3/testsuite/23_containers/multiset/allocator/copy.cc
libstdc++-v3/testsuite/23_containers/multiset/allocator/copy_assign.cc
libstdc++-v3/testsuite/23_containers/multiset/allocator/init-list.cc
libstdc++-v3/testsuite/23_containers/multiset/allocator/minimal.cc
libstdc++-v3/testsuite/23_containers/multiset/allocator/move.cc
libstdc++-v3/testsuite/23_containers/multiset/allocator/move_assign.cc
libstdc++-v3/testsuite/23_containers/multiset/allocator/swap.cc
libstdc++-v3/testsuite/23_containers/multiset/capacity/29134.cc
libstdc++-v3/testsuite/23_containers/multiset/cons/moveable.cc
libstdc++-v3/testsuite/23_containers/multiset/debug/construct5_neg.cc
libstdc++-v3/testsuite/23_containers/multiset/debug/invalidation/2.cc
libstdc++-v3/testsuite/23_containers/multiset/debug/move_assign_neg.cc
libstdc++-v3/testsuite/23_containers/multiset/debug/move_neg.cc
libstdc++-v3/testsuite/23_containers/multiset/init-list.cc
libstdc++-v3/testsuite/23_containers/multiset/modifiers/dr130.cc
libstdc++-v3/testsuite/23_containers/multiset/modifiers/emplace/1.cc
libstdc++-v3/testsuite/23_containers/multiset/modifiers/extract.cc
libstdc++-v3/testsuite/23_containers/multiset/modifiers/insert/1.cc
libstdc++-v3/testsuite/23_containers/multiset/modifiers/insert/2.cc
libstdc++-v3/testsuite/23_containers/multiset/modifiers/insert/22102.cc
libstdc++-v3/testsuite/23_containers/multiset/modifiers/insert/3.cc
libstdc++-v3/testsuite/23_containers/multiset/modifiers/insert/4.cc
libstdc++-v3/testsuite/23_containers/multiset/modifiers/merge.cc
libstdc++-v3/testsuite/23_containers/multiset/modifiers/swap/1.cc
libstdc++-v3/testsuite/23_containers/multiset/modifiers/swap/2.cc
libstdc++-v3/testsuite/23_containers/multiset/modifiers/swap/3.cc
libstdc++-v3/testsuite/23_containers/multiset/operations/1.cc
libstdc++-v3/testsuite/23_containers/multiset/operations/count.cc
libstdc++-v3/testsuite/23_containers/priority_queue/moveable.cc
libstdc++-v3/testsuite/23_containers/queue/moveable.cc
libstdc++-v3/testsuite/23_containers/set/allocator/copy.cc
libstdc++-v3/testsuite/23_containers/set/allocator/copy_assign.cc
libstdc++-v3/testsuite/23_containers/set/allocator/init-list.cc
libstdc++-v3/testsuite/23_containers/set/allocator/minimal.cc
libstdc++-v3/testsuite/23_containers/set/allocator/move.cc
libstdc++-v3/testsuite/23_containers/set/allocator/move_assign.cc
libstdc++-v3/testsuite/23_containers/set/allocator/swap.cc
libstdc++-v3/testsuite/23_containers/set/capacity/29134.cc
libstdc++-v3/testsuite/23_containers/set/cons/moveable.cc
libstdc++-v3/testsuite/23_containers/set/debug/construct5_neg.cc
libstdc++-v3/testsuite/23_containers/set/debug/invalidation/2.cc
libstdc++-v3/testsuite/23_containers/set/debug/move_assign_neg.cc
libstdc++-v3/testsuite/23_containers/set/debug/move_neg.cc
libstdc++-v3/testsuite/23_containers/set/init-list.cc
libstdc++-v3/testsuite/23_containers/set/modifiers/17948.cc
libstdc++-v3/testsuite/23_containers/set/modifiers/dr130.cc
libstdc++-v3/testsuite/23_containers/set/modifiers/emplace/1.cc
libstdc++-v3/testsuite/23_containers/set/modifiers/extract.cc
libstdc++-v3/testsuite/23_containers/set/modifiers/insert/1.cc
libstdc++-v3/testsuite/23_containers/set/modifiers/insert/2.cc
libstdc++-v3/testsuite/23_containers/set/modifiers/insert/3.cc
libstdc++-v3/testsuite/23_containers/set/modifiers/merge.cc
libstdc++-v3/testsuite/23_containers/set/modifiers/swap/1.cc
libstdc++-v3/testsuite/23_containers/set/modifiers/swap/2.cc
libstdc++-v3/testsuite/23_containers/set/modifiers/swap/3.cc
libstdc++-v3/testsuite/23_containers/set/operations/1.cc
libstdc++-v3/testsuite/23_containers/set/operations/count.cc
libstdc++-v3/testsuite/23_containers/set/operators/1_neg.cc
libstdc++-v3/testsuite/23_containers/unordered_map/allocator/copy.cc
libstdc++-v3/testsuite/23_containers/unordered_map/allocator/copy_assign.cc
libstdc++-v3/testsuite/23_containers/unordered_map/allocator/minimal.cc
libstdc++-v3/testsuite/23_containers/unordered_map/allocator/move.cc
libstdc++-v3/testsuite/23_containers/unordered_map/allocator/move_assign.cc
libstdc++-v3/testsuite/23_containers/unordered_map/allocator/swap.cc
libstdc++-v3/testsuite/23_containers/unordered_map/cons/moveable.cc
libstdc++-v3/testsuite/23_containers/unordered_map/debug/construct5_neg.cc
libstdc++-v3/testsuite/23_containers/unordered_map/debug/move_assign_neg.cc
libstdc++-v3/testsuite/23_containers/unordered_map/debug/move_neg.cc
libstdc++-v3/testsuite/23_containers/unordered_map/dr761.cc
libstdc++-v3/testsuite/23_containers/unordered_map/erase/1.cc
libstdc++-v3/testsuite/23_containers/unordered_map/erase/24061-map.cc
libstdc++-v3/testsuite/23_containers/unordered_map/erase/54276.cc
libstdc++-v3/testsuite/23_containers/unordered_map/hash_policy/dr1189.cc
libstdc++-v3/testsuite/23_containers/unordered_map/init-list.cc
libstdc++-v3/testsuite/23_containers/unordered_map/insert/24061-map.cc
libstdc++-v3/testsuite/23_containers/unordered_map/insert/57619.C [deleted file]
libstdc++-v3/testsuite/23_containers/unordered_map/insert/57619.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/unordered_map/insert/array_syntax.cc
libstdc++-v3/testsuite/23_containers/unordered_map/insert/array_syntax_move.cc
libstdc++-v3/testsuite/23_containers/unordered_map/insert/map_range.cc
libstdc++-v3/testsuite/23_containers/unordered_map/insert/map_single.cc
libstdc++-v3/testsuite/23_containers/unordered_map/insert/map_single_move-1.cc
libstdc++-v3/testsuite/23_containers/unordered_map/insert/map_single_move-2.cc
libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/61667.cc
libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/emplace.cc
libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/extract.cc
libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/insert_or_assign.cc
libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/merge.cc
libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/reserve.cc
libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/try_emplace.cc
libstdc++-v3/testsuite/23_containers/unordered_map/operations/count.cc
libstdc++-v3/testsuite/23_containers/unordered_map/operators/1.cc
libstdc++-v3/testsuite/23_containers/unordered_map/operators/2.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/allocator/copy.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/allocator/copy_assign.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/allocator/minimal.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/allocator/move.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/allocator/move_assign.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/allocator/swap.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/cons/moveable.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/construct5_neg.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/move_assign_neg.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/move_neg.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/erase/1.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/erase/2.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/erase/24061-multimap.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/erase/51845-multimap.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/erase/54276.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/hash_policy/dr1189.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/init-list.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/24061-multimap.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/51866.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/52476.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/53115.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/57619.C [deleted file]
libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/57619.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/hint.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/multimap_range.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/multimap_single.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/multimap_single_move-1.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/multimap_single_move-2.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/modifiers/emplace.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/modifiers/extract.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/modifiers/merge.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/modifiers/reserve.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/operations/count.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/operators/1.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/operators/2.cc
libstdc++-v3/testsuite/23_containers/unordered_multiset/allocator/copy.cc
libstdc++-v3/testsuite/23_containers/unordered_multiset/allocator/copy_assign.cc
libstdc++-v3/testsuite/23_containers/unordered_multiset/allocator/minimal.cc
libstdc++-v3/testsuite/23_containers/unordered_multiset/allocator/move.cc
libstdc++-v3/testsuite/23_containers/unordered_multiset/allocator/move_assign.cc
libstdc++-v3/testsuite/23_containers/unordered_multiset/allocator/swap.cc
libstdc++-v3/testsuite/23_containers/unordered_multiset/cons/copy.cc
libstdc++-v3/testsuite/23_containers/unordered_multiset/cons/moveable.cc
libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/construct5_neg.cc
libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/move_assign_neg.cc
libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/move_neg.cc
libstdc++-v3/testsuite/23_containers/unordered_multiset/erase/1.cc
libstdc++-v3/testsuite/23_containers/unordered_multiset/erase/2.cc
libstdc++-v3/testsuite/23_containers/unordered_multiset/erase/24061-multiset.cc
libstdc++-v3/testsuite/23_containers/unordered_multiset/hash_policy/dr1189.cc
libstdc++-v3/testsuite/23_containers/unordered_multiset/init-list.cc
libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/24061-multiset.cc
libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/51866.cc
libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/52476.cc
libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/53115.cc
libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/hash_policy.cc
libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/multiset_range.cc
libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/multiset_single.cc
libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/multiset_single_move.cc
libstdc++-v3/testsuite/23_containers/unordered_multiset/modifiers/emplace.cc
libstdc++-v3/testsuite/23_containers/unordered_multiset/modifiers/extract.cc
libstdc++-v3/testsuite/23_containers/unordered_multiset/modifiers/merge.cc
libstdc++-v3/testsuite/23_containers/unordered_multiset/modifiers/reserve.cc
libstdc++-v3/testsuite/23_containers/unordered_multiset/operations/count.cc
libstdc++-v3/testsuite/23_containers/unordered_multiset/operators/1.cc
libstdc++-v3/testsuite/23_containers/unordered_set/allocator/copy.cc
libstdc++-v3/testsuite/23_containers/unordered_set/allocator/copy_assign.cc
libstdc++-v3/testsuite/23_containers/unordered_set/allocator/ext_ptr.cc
libstdc++-v3/testsuite/23_containers/unordered_set/allocator/minimal.cc
libstdc++-v3/testsuite/23_containers/unordered_set/allocator/move.cc
libstdc++-v3/testsuite/23_containers/unordered_set/allocator/move_assign.cc
libstdc++-v3/testsuite/23_containers/unordered_set/allocator/swap.cc
libstdc++-v3/testsuite/23_containers/unordered_set/buckets/swap.cc
libstdc++-v3/testsuite/23_containers/unordered_set/cons/moveable.cc
libstdc++-v3/testsuite/23_containers/unordered_set/debug/construct5_neg.cc
libstdc++-v3/testsuite/23_containers/unordered_set/debug/debug_functions.cc
libstdc++-v3/testsuite/23_containers/unordered_set/debug/move_assign_neg.cc
libstdc++-v3/testsuite/23_containers/unordered_set/debug/move_neg.cc
libstdc++-v3/testsuite/23_containers/unordered_set/erase/1.cc
libstdc++-v3/testsuite/23_containers/unordered_set/erase/24061-set.cc
libstdc++-v3/testsuite/23_containers/unordered_set/hash_policy/26132.cc
libstdc++-v3/testsuite/23_containers/unordered_set/hash_policy/71181.cc
libstdc++-v3/testsuite/23_containers/unordered_set/hash_policy/dr1189.cc
libstdc++-v3/testsuite/23_containers/unordered_set/hash_policy/load_factor.cc
libstdc++-v3/testsuite/23_containers/unordered_set/hash_policy/power2_rehash.cc
libstdc++-v3/testsuite/23_containers/unordered_set/hash_policy/prime_rehash.cc
libstdc++-v3/testsuite/23_containers/unordered_set/hash_policy/rehash.cc
libstdc++-v3/testsuite/23_containers/unordered_set/init-list.cc
libstdc++-v3/testsuite/23_containers/unordered_set/insert/24061-set.cc
libstdc++-v3/testsuite/23_containers/unordered_set/insert/hash_policy.cc
libstdc++-v3/testsuite/23_containers/unordered_set/insert/move_range.cc
libstdc++-v3/testsuite/23_containers/unordered_set/insert/set_range.cc
libstdc++-v3/testsuite/23_containers/unordered_set/insert/set_single.cc
libstdc++-v3/testsuite/23_containers/unordered_set/insert/set_single_move.cc
libstdc++-v3/testsuite/23_containers/unordered_set/max_load_factor/robustness.cc
libstdc++-v3/testsuite/23_containers/unordered_set/modifiers/emplace.cc
libstdc++-v3/testsuite/23_containers/unordered_set/modifiers/extract.cc
libstdc++-v3/testsuite/23_containers/unordered_set/modifiers/merge.cc
libstdc++-v3/testsuite/23_containers/unordered_set/modifiers/reserve.cc
libstdc++-v3/testsuite/23_containers/unordered_set/modifiers/swap.cc
libstdc++-v3/testsuite/23_containers/unordered_set/operations/count.cc
libstdc++-v3/testsuite/23_containers/unordered_set/operators/1.cc
libstdc++-v3/testsuite/23_containers/vector/allocator/copy.cc
libstdc++-v3/testsuite/23_containers/vector/allocator/copy_assign.cc
libstdc++-v3/testsuite/23_containers/vector/allocator/ext_ptr.cc
libstdc++-v3/testsuite/23_containers/vector/allocator/minimal.cc
libstdc++-v3/testsuite/23_containers/vector/allocator/move.cc
libstdc++-v3/testsuite/23_containers/vector/allocator/move_assign.cc
libstdc++-v3/testsuite/23_containers/vector/allocator/swap.cc
libstdc++-v3/testsuite/23_containers/vector/bool/6886.cc
libstdc++-v3/testsuite/23_containers/vector/bool/72847.cc
libstdc++-v3/testsuite/23_containers/vector/bool/allocator/copy.cc
libstdc++-v3/testsuite/23_containers/vector/bool/allocator/copy_assign.cc
libstdc++-v3/testsuite/23_containers/vector/bool/allocator/ext_ptr.cc
libstdc++-v3/testsuite/23_containers/vector/bool/allocator/move.cc
libstdc++-v3/testsuite/23_containers/vector/bool/allocator/move_assign.cc
libstdc++-v3/testsuite/23_containers/vector/bool/allocator/swap.cc
libstdc++-v3/testsuite/23_containers/vector/bool/capacity/1.cc
libstdc++-v3/testsuite/23_containers/vector/bool/capacity/29134.cc
libstdc++-v3/testsuite/23_containers/vector/bool/capacity/shrink_to_fit.cc
libstdc++-v3/testsuite/23_containers/vector/bool/cons/1.cc
libstdc++-v3/testsuite/23_containers/vector/bool/cons/2.cc
libstdc++-v3/testsuite/23_containers/vector/bool/modifiers/erase/1.cc
libstdc++-v3/testsuite/23_containers/vector/bool/modifiers/insert/1.cc
libstdc++-v3/testsuite/23_containers/vector/bool/modifiers/insert/31370.cc
libstdc++-v3/testsuite/23_containers/vector/bool/modifiers/swap/1.cc
libstdc++-v3/testsuite/23_containers/vector/bool/modifiers/swap/2.cc
libstdc++-v3/testsuite/23_containers/vector/bool/swap.cc
libstdc++-v3/testsuite/23_containers/vector/capacity/1.cc
libstdc++-v3/testsuite/23_containers/vector/capacity/2.cc
libstdc++-v3/testsuite/23_containers/vector/capacity/29134-2.cc
libstdc++-v3/testsuite/23_containers/vector/capacity/29134.cc
libstdc++-v3/testsuite/23_containers/vector/capacity/44190.cc
libstdc++-v3/testsuite/23_containers/vector/capacity/8230.cc
libstdc++-v3/testsuite/23_containers/vector/capacity/reserve/moveable.cc
libstdc++-v3/testsuite/23_containers/vector/capacity/reserve/moveable2.cc
libstdc++-v3/testsuite/23_containers/vector/capacity/resize/1.cc
libstdc++-v3/testsuite/23_containers/vector/capacity/resize/moveable.cc
libstdc++-v3/testsuite/23_containers/vector/capacity/resize/moveable2.cc
libstdc++-v3/testsuite/23_containers/vector/capacity/resize/resize_size.cc
libstdc++-v3/testsuite/23_containers/vector/capacity/shrink_to_fit.cc
libstdc++-v3/testsuite/23_containers/vector/capacity/shrink_to_fit2.cc
libstdc++-v3/testsuite/23_containers/vector/cons/3.cc
libstdc++-v3/testsuite/23_containers/vector/cons/4.cc
libstdc++-v3/testsuite/23_containers/vector/cons/cons_size.cc
libstdc++-v3/testsuite/23_containers/vector/cons/moveable.cc
libstdc++-v3/testsuite/23_containers/vector/data_access/1.cc
libstdc++-v3/testsuite/23_containers/vector/debug/debug_functions.cc
libstdc++-v3/testsuite/23_containers/vector/debug/move_assign_neg.cc
libstdc++-v3/testsuite/23_containers/vector/debug/move_neg.cc
libstdc++-v3/testsuite/23_containers/vector/debug/multithreaded_swap.cc
libstdc++-v3/testsuite/23_containers/vector/element_access/1.cc
libstdc++-v3/testsuite/23_containers/vector/ext_pointer/citerators.cc
libstdc++-v3/testsuite/23_containers/vector/ext_pointer/data_access.cc
libstdc++-v3/testsuite/23_containers/vector/ext_pointer/modifiers/element.cc
libstdc++-v3/testsuite/23_containers/vector/ext_pointer/modifiers/erase.cc
libstdc++-v3/testsuite/23_containers/vector/ext_pointer/modifiers/insert.cc
libstdc++-v3/testsuite/23_containers/vector/ext_pointer/resize.cc
libstdc++-v3/testsuite/23_containers/vector/modifiers/1.cc
libstdc++-v3/testsuite/23_containers/vector/modifiers/2.cc
libstdc++-v3/testsuite/23_containers/vector/modifiers/emplace/self_emplace.cc
libstdc++-v3/testsuite/23_containers/vector/modifiers/erase/1.cc
libstdc++-v3/testsuite/23_containers/vector/modifiers/erase/moveable.cc
libstdc++-v3/testsuite/23_containers/vector/modifiers/insert/1.cc
libstdc++-v3/testsuite/23_containers/vector/modifiers/insert/self_insert.cc
libstdc++-v3/testsuite/23_containers/vector/modifiers/moveable.cc
libstdc++-v3/testsuite/23_containers/vector/modifiers/moveable2.cc
libstdc++-v3/testsuite/23_containers/vector/modifiers/push_back/49836.cc
libstdc++-v3/testsuite/23_containers/vector/modifiers/swap/1.cc
libstdc++-v3/testsuite/23_containers/vector/modifiers/swap/2.cc
libstdc++-v3/testsuite/23_containers/vector/modifiers/swap/3.cc
libstdc++-v3/testsuite/23_containers/vector/zero_sized_allocations.cc

index 31280a36acffcff0b33744cd4fe9d2b8e4a5b801..98872fd6b4c4419fd3202b7b5f8dd07946a5bc31 100644 (file)
@@ -1,3 +1,489 @@
+2016-10-17  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * testsuite/unordered_map/insert/57619.C: Rename to 57619.cc.
+       * testsuite/23_containers/unordered_multimap/insert/57619.C: Likewise.
+
+2016-10-17  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * testsuite/array/capacity/empty.cc: Remove 'test' variables.
+       * testsuite/array/capacity/max_size.cc: Likewise.
+       * testsuite/array/capacity/size.cc: Likewise.
+       * testsuite/array/comparison_operators/equal.cc: Likewise.
+       * testsuite/array/comparison_operators/greater.cc: Likewise.
+       * testsuite/array/comparison_operators/greater_or_equal.cc: Likewise.
+       * testsuite/array/comparison_operators/less.cc: Likewise.
+       * testsuite/array/comparison_operators/less_or_equal.cc: Likewise.
+       * testsuite/array/comparison_operators/not_equal.cc: Likewise.
+       * testsuite/array/element_access/54388.cc: Likewise.
+       * testsuite/array/element_access/at_out_of_range.cc: Likewise.
+       * testsuite/array/element_access/back.cc: Likewise.
+       * testsuite/array/element_access/data.cc: Likewise.
+       * testsuite/array/element_access/front.cc: Likewise.
+       * testsuite/array/iterators/end_is_one_past.cc: Likewise.
+       * testsuite/array/requirements/contiguous.cc: Likewise.
+       * testsuite/array/requirements/fill.cc: Likewise.
+       * testsuite/array/requirements/member_swap.cc: Likewise.
+       * testsuite/array/requirements/zero_sized_arrays.cc: Likewise.
+       * testsuite/array/specialized_algorithms/swap.cc: Likewise.
+       * testsuite/array/tuple_interface/tuple_element.cc: Likewise.
+       * testsuite/array/tuple_interface/tuple_element_cpp14.cc: Likewise.
+       * testsuite/array/tuple_interface/tuple_size.cc: Likewise.
+       * testsuite/bitset/all/1.cc: Likewise.
+       * testsuite/bitset/cons/1.cc: Likewise.
+       * testsuite/bitset/cons/16020.cc: Likewise.
+       * testsuite/bitset/cons/2.cc: Likewise.
+       * testsuite/bitset/cons/3.cc: Likewise.
+       * testsuite/bitset/cons/50268.cc: Likewise.
+       * testsuite/bitset/cons/6282.cc: Likewise.
+       * testsuite/bitset/cons/dr1325-2.cc: Likewise.
+       * testsuite/bitset/cons/dr396.cc: Likewise.
+       * testsuite/bitset/ext/15361.cc: Likewise.
+       * testsuite/bitset/input/1.cc: Likewise.
+       * testsuite/bitset/operations/1.cc: Likewise.
+       * testsuite/bitset/operations/13838.cc: Likewise.
+       * testsuite/bitset/operations/2.cc: Likewise.
+       * testsuite/bitset/test/1.cc: Likewise.
+       * testsuite/bitset/to_string/1.cc: Likewise.
+       * testsuite/bitset/to_string/dr396.cc: Likewise.
+       * testsuite/bitset/to_ullong/1.cc: Likewise.
+       * testsuite/bitset/to_ulong/1.cc: Likewise.
+       * testsuite/deque/allocator/copy.cc: Likewise.
+       * testsuite/deque/allocator/copy_assign.cc: Likewise.
+       * testsuite/deque/allocator/ext_ptr.cc: Likewise.
+       * testsuite/deque/allocator/minimal.cc: Likewise.
+       * testsuite/deque/allocator/move.cc: Likewise.
+       * testsuite/deque/allocator/move_assign.cc: Likewise.
+       * testsuite/deque/allocator/swap.cc: Likewise.
+       * testsuite/deque/capacity/29134-2.cc: Likewise.
+       * testsuite/deque/capacity/29134.cc: Likewise.
+       * testsuite/deque/capacity/moveable.cc: Likewise.
+       * testsuite/deque/capacity/resize_size.cc: Likewise.
+       * testsuite/deque/capacity/shrink_to_fit.cc: Likewise.
+       * testsuite/deque/cons/1.cc: Likewise.
+       * testsuite/deque/cons/2.cc: Likewise.
+       * testsuite/deque/cons/assign/1.cc: Likewise.
+       * testsuite/deque/cons/cons_size.cc: Likewise.
+       * testsuite/deque/cons/moveable.cc: Likewise.
+       * testsuite/deque/modifiers/erase/1.cc: Likewise.
+       * testsuite/deque/modifiers/erase/2.cc: Likewise.
+       * testsuite/deque/modifiers/erase/3.cc: Likewise.
+       * testsuite/deque/modifiers/erase/moveable.cc: Likewise.
+       * testsuite/deque/modifiers/moveable.cc: Likewise.
+       * testsuite/deque/modifiers/push_back/49836.cc: Likewise.
+       * testsuite/deque/modifiers/push_front/49836.cc: Likewise.
+       * testsuite/deque/modifiers/swap/1.cc: Likewise.
+       * testsuite/deque/modifiers/swap/2.cc: Likewise.
+       * testsuite/deque/modifiers/swap/3.cc: Likewise.
+       * testsuite/deque/operators/1.cc: Likewise.
+       * testsuite/deque/operators/2.cc: Likewise.
+       * testsuite/forward_list/allocator/copy.cc: Likewise.
+       * testsuite/forward_list/allocator/copy_assign.cc: Likewise.
+       * testsuite/forward_list/allocator/ext_ptr.cc: Likewise.
+       * testsuite/forward_list/allocator/minimal.cc: Likewise.
+       * testsuite/forward_list/allocator/move.cc: Likewise.
+       * testsuite/forward_list/allocator/move_assign.cc: Likewise.
+       * testsuite/forward_list/allocator/swap.cc: Likewise.
+       * testsuite/forward_list/capacity/1.cc: Likewise.
+       * testsuite/forward_list/capacity/resize_size.cc: Likewise.
+       * testsuite/forward_list/comparable.cc: Likewise.
+       * testsuite/forward_list/cons/1.cc: Likewise.
+       * testsuite/forward_list/cons/2.cc: Likewise.
+       * testsuite/forward_list/cons/3.cc: Likewise.
+       * testsuite/forward_list/cons/4.cc: Likewise.
+       * testsuite/forward_list/cons/5.cc: Likewise.
+       * testsuite/forward_list/cons/6.cc: Likewise.
+       * testsuite/forward_list/cons/7.cc: Likewise.
+       * testsuite/forward_list/cons/8.cc: Likewise.
+       * testsuite/forward_list/cons/9.cc: Likewise.
+       * testsuite/forward_list/cons/cons_size.cc: Likewise.
+       * testsuite/forward_list/cons/moveable.cc: Likewise.
+       * testsuite/forward_list/debug/clear.cc: Likewise.
+       * testsuite/forward_list/debug/construct4_neg.cc: Likewise.
+       * testsuite/forward_list/debug/erase_after1_neg.cc: Likewise.
+       * testsuite/forward_list/debug/move_assign_neg.cc: Likewise.
+       * testsuite/forward_list/debug/move_constructor.cc: Likewise.
+       * testsuite/forward_list/debug/move_neg.cc: Likewise.
+       * testsuite/forward_list/debug/splice_after.cc: Likewise.
+       * testsuite/forward_list/debug/swap.cc: Likewise.
+       * testsuite/forward_list/modifiers/1.cc: Likewise.
+       * testsuite/forward_list/modifiers/2.cc: Likewise.
+       * testsuite/forward_list/modifiers/3.cc: Likewise.
+       * testsuite/forward_list/modifiers/4.cc: Likewise.
+       * testsuite/forward_list/modifiers/5.cc: Likewise.
+       * testsuite/forward_list/modifiers/6.cc: Likewise.
+       * testsuite/forward_list/operations/1.cc: Likewise.
+       * testsuite/forward_list/operations/2.cc: Likewise.
+       * testsuite/forward_list/operations/3.cc: Likewise.
+       * testsuite/forward_list/operations/4.cc: Likewise.
+       * testsuite/forward_list/operations/5.cc: Likewise.
+       * testsuite/forward_list/operations/6.cc: Likewise.
+       * testsuite/forward_list/operations/7.cc: Likewise.
+       * testsuite/forward_list/operations/remove_freed.cc: Likewise.
+       * testsuite/list/61347.cc: Likewise.
+       * testsuite/list/allocator/copy.cc: Likewise.
+       * testsuite/list/allocator/copy_assign.cc: Likewise.
+       * testsuite/list/allocator/minimal.cc: Likewise.
+       * testsuite/list/allocator/move.cc: Likewise.
+       * testsuite/list/allocator/move_assign.cc: Likewise.
+       * testsuite/list/allocator/swap.cc: Likewise.
+       * testsuite/list/capacity/1.h: Likewise.
+       * testsuite/list/capacity/29134.cc: Likewise.
+       * testsuite/list/capacity/resize_size.cc: Likewise.
+       * testsuite/list/cons/1.h: Likewise.
+       * testsuite/list/cons/2.h: Likewise.
+       * testsuite/list/cons/3.h: Likewise.
+       * testsuite/list/cons/4.h: Likewise.
+       * testsuite/list/cons/5.h: Likewise.
+       * testsuite/list/cons/6.h: Likewise.
+       * testsuite/list/cons/7.h: Likewise.
+       * testsuite/list/cons/8.h: Likewise.
+       * testsuite/list/cons/9.h: Likewise.
+       * testsuite/list/cons/cons_size.cc: Likewise.
+       * testsuite/list/cons/moveable.h: Likewise.
+       * testsuite/list/debug/invalidation/1.cc: Likewise.
+       * testsuite/list/debug/invalidation/2.cc: Likewise.
+       * testsuite/list/debug/invalidation/3.cc: Likewise.
+       * testsuite/list/debug/invalidation/4.cc: Likewise.
+       * testsuite/list/modifiers/1.h: Likewise.
+       * testsuite/list/modifiers/2.h: Likewise.
+       * testsuite/list/modifiers/3.h: Likewise.
+       * testsuite/list/modifiers/insert/25288.h: Likewise.
+       * testsuite/list/modifiers/swap/1.h: Likewise.
+       * testsuite/list/modifiers/swap/2.h: Likewise.
+       * testsuite/list/modifiers/swap/3.h: Likewise.
+       * testsuite/list/operations/1.h: Likewise.
+       * testsuite/list/operations/2.h: Likewise.
+       * testsuite/list/operations/3.h: Likewise.
+       * testsuite/list/operations/4.h: Likewise.
+       * testsuite/list/operations/42352.cc: Likewise.
+       * testsuite/map/allocator/copy.cc: Likewise.
+       * testsuite/map/allocator/copy_assign.cc: Likewise.
+       * testsuite/map/allocator/init-list.cc: Likewise.
+       * testsuite/map/allocator/minimal.cc: Likewise.
+       * testsuite/map/allocator/move.cc: Likewise.
+       * testsuite/map/allocator/move_assign.cc: Likewise.
+       * testsuite/map/allocator/swap.cc: Likewise.
+       * testsuite/map/capacity/29134.cc: Likewise.
+       * testsuite/map/cons/moveable.cc: Likewise.
+       * testsuite/map/debug/construct5_neg.cc: Likewise.
+       * testsuite/map/debug/move_assign_neg.cc: Likewise.
+       * testsuite/map/debug/move_neg.cc: Likewise.
+       * testsuite/map/element_access/1.cc: Likewise.
+       * testsuite/map/element_access/2.cc: Likewise.
+       * testsuite/map/element_access/39901.cc: Likewise.
+       * testsuite/map/init-list.cc: Likewise.
+       * testsuite/map/modifiers/dr130.cc: Likewise.
+       * testsuite/map/modifiers/emplace/1.cc: Likewise.
+       * testsuite/map/modifiers/extract.cc: Likewise.
+       * testsuite/map/modifiers/insert/1.cc: Likewise.
+       * testsuite/map/modifiers/insert/16813.cc: Likewise.
+       * testsuite/map/modifiers/insert/2.cc: Likewise.
+       * testsuite/map/modifiers/insert/3.cc: Likewise.
+       * testsuite/map/modifiers/insert/4.cc: Likewise.
+       * testsuite/map/modifiers/insert/5.cc: Likewise.
+       * testsuite/map/modifiers/insert_or_assign/1.cc: Likewise.
+       * testsuite/map/modifiers/merge.cc: Likewise.
+       * testsuite/map/modifiers/swap/1.cc: Likewise.
+       * testsuite/map/modifiers/swap/2.cc: Likewise.
+       * testsuite/map/modifiers/swap/3.cc: Likewise.
+       * testsuite/map/modifiers/try_emplace/1.cc: Likewise.
+       * testsuite/map/operations/1.cc: Likewise.
+       * testsuite/map/operations/count.cc: Likewise.
+       * testsuite/map/operators/1_neg.cc: Likewise.
+       * testsuite/map/operators/2.cc: Likewise.
+       * testsuite/multimap/allocator/copy.cc: Likewise.
+       * testsuite/multimap/allocator/copy_assign.cc: Likewise.
+       * testsuite/multimap/allocator/init-list.cc: Likewise.
+       * testsuite/multimap/allocator/minimal.cc: Likewise.
+       * testsuite/multimap/allocator/move.cc: Likewise.
+       * testsuite/multimap/allocator/move_assign.cc: Likewise.
+       * testsuite/multimap/allocator/swap.cc: Likewise.
+       * testsuite/multimap/capacity/29134.cc: Likewise.
+       * testsuite/multimap/cons/moveable.cc: Likewise.
+       * testsuite/multimap/debug/construct5_neg.cc: Likewise.
+       * testsuite/multimap/debug/move_assign_neg.cc: Likewise.
+       * testsuite/multimap/debug/move_neg.cc: Likewise.
+       * testsuite/multimap/init-list.cc: Likewise.
+       * testsuite/multimap/modifiers/dr130.cc: Likewise.
+       * testsuite/multimap/modifiers/emplace/1.cc: Likewise.
+       * testsuite/multimap/modifiers/extract.cc: Likewise.
+       * testsuite/multimap/modifiers/insert/1.cc: Likewise.
+       * testsuite/multimap/modifiers/insert/2.cc: Likewise.
+       * testsuite/multimap/modifiers/insert/22102.cc: Likewise.
+       * testsuite/multimap/modifiers/insert/3.cc: Likewise.
+       * testsuite/multimap/modifiers/insert/4.cc: Likewise.
+       * testsuite/multimap/modifiers/merge.cc: Likewise.
+       * testsuite/multimap/modifiers/swap/1.cc: Likewise.
+       * testsuite/multimap/modifiers/swap/2.cc: Likewise.
+       * testsuite/multimap/modifiers/swap/3.cc: Likewise.
+       * testsuite/multimap/operations/1.cc: Likewise.
+       * testsuite/multimap/operations/count.cc: Likewise.
+       * testsuite/multiset/allocator/copy.cc: Likewise.
+       * testsuite/multiset/allocator/copy_assign.cc: Likewise.
+       * testsuite/multiset/allocator/init-list.cc: Likewise.
+       * testsuite/multiset/allocator/minimal.cc: Likewise.
+       * testsuite/multiset/allocator/move.cc: Likewise.
+       * testsuite/multiset/allocator/move_assign.cc: Likewise.
+       * testsuite/multiset/allocator/swap.cc: Likewise.
+       * testsuite/multiset/capacity/29134.cc: Likewise.
+       * testsuite/multiset/cons/moveable.cc: Likewise.
+       * testsuite/multiset/debug/construct5_neg.cc: Likewise.
+       * testsuite/multiset/debug/invalidation/2.cc: Likewise.
+       * testsuite/multiset/debug/move_assign_neg.cc: Likewise.
+       * testsuite/multiset/debug/move_neg.cc: Likewise.
+       * testsuite/multiset/init-list.cc: Likewise.
+       * testsuite/multiset/modifiers/dr130.cc: Likewise.
+       * testsuite/multiset/modifiers/emplace/1.cc: Likewise.
+       * testsuite/multiset/modifiers/extract.cc: Likewise.
+       * testsuite/multiset/modifiers/insert/1.cc: Likewise.
+       * testsuite/multiset/modifiers/insert/2.cc: Likewise.
+       * testsuite/multiset/modifiers/insert/22102.cc: Likewise.
+       * testsuite/multiset/modifiers/insert/3.cc: Likewise.
+       * testsuite/multiset/modifiers/insert/4.cc: Likewise.
+       * testsuite/multiset/modifiers/merge.cc: Likewise.
+       * testsuite/multiset/modifiers/swap/1.cc: Likewise.
+       * testsuite/multiset/modifiers/swap/2.cc: Likewise.
+       * testsuite/multiset/modifiers/swap/3.cc: Likewise.
+       * testsuite/multiset/operations/1.cc: Likewise.
+       * testsuite/multiset/operations/count.cc: Likewise.
+       * testsuite/priority_queue/moveable.cc: Likewise.
+       * testsuite/queue/moveable.cc: Likewise.
+       * testsuite/set/allocator/copy.cc: Likewise.
+       * testsuite/set/allocator/copy_assign.cc: Likewise.
+       * testsuite/set/allocator/init-list.cc: Likewise.
+       * testsuite/set/allocator/minimal.cc: Likewise.
+       * testsuite/set/allocator/move.cc: Likewise.
+       * testsuite/set/allocator/move_assign.cc: Likewise.
+       * testsuite/set/allocator/swap.cc: Likewise.
+       * testsuite/set/capacity/29134.cc: Likewise.
+       * testsuite/set/cons/moveable.cc: Likewise.
+       * testsuite/set/debug/construct5_neg.cc: Likewise.
+       * testsuite/set/debug/invalidation/2.cc: Likewise.
+       * testsuite/set/debug/move_assign_neg.cc: Likewise.
+       * testsuite/set/debug/move_neg.cc: Likewise.
+       * testsuite/set/init-list.cc: Likewise.
+       * testsuite/set/modifiers/17948.cc: Likewise.
+       * testsuite/set/modifiers/dr130.cc: Likewise.
+       * testsuite/set/modifiers/emplace/1.cc: Likewise.
+       * testsuite/set/modifiers/extract.cc: Likewise.
+       * testsuite/set/modifiers/insert/1.cc: Likewise.
+       * testsuite/set/modifiers/insert/2.cc: Likewise.
+       * testsuite/set/modifiers/insert/3.cc: Likewise.
+       * testsuite/set/modifiers/merge.cc: Likewise.
+       * testsuite/set/modifiers/swap/1.cc: Likewise.
+       * testsuite/set/modifiers/swap/2.cc: Likewise.
+       * testsuite/set/modifiers/swap/3.cc: Likewise.
+       * testsuite/set/operations/1.cc: Likewise.
+       * testsuite/set/operations/count.cc: Likewise.
+       * testsuite/set/operators/1_neg.cc: Likewise.
+       * testsuite/unordered_map/allocator/copy.cc: Likewise.
+       * testsuite/unordered_map/allocator/copy_assign.cc: Likewise.
+       * testsuite/unordered_map/allocator/minimal.cc: Likewise.
+       * testsuite/unordered_map/allocator/move.cc: Likewise.
+       * testsuite/unordered_map/allocator/move_assign.cc: Likewise.
+       * testsuite/unordered_map/allocator/swap.cc: Likewise.
+       * testsuite/unordered_map/cons/moveable.cc: Likewise.
+       * testsuite/unordered_map/debug/construct5_neg.cc: Likewise.
+       * testsuite/unordered_map/debug/move_assign_neg.cc: Likewise.
+       * testsuite/unordered_map/debug/move_neg.cc: Likewise.
+       * testsuite/unordered_map/dr761.cc: Likewise.
+       * testsuite/unordered_map/erase/1.cc: Likewise.
+       * testsuite/unordered_map/erase/24061-map.cc: Likewise.
+       * testsuite/unordered_map/erase/54276.cc: Likewise.
+       * testsuite/unordered_map/hash_policy/dr1189.cc: Likewise.
+       * testsuite/unordered_map/init-list.cc: Likewise.
+       * testsuite/unordered_map/insert/24061-map.cc: Likewise.
+       * testsuite/unordered_map/insert/57619.C: Likewise.
+       * testsuite/unordered_map/insert/array_syntax.cc: Likewise.
+       * testsuite/unordered_map/insert/array_syntax_move.cc: Likewise.
+       * testsuite/unordered_map/insert/map_range.cc: Likewise.
+       * testsuite/unordered_map/insert/map_single.cc: Likewise.
+       * testsuite/unordered_map/insert/map_single_move-1.cc: Likewise.
+       * testsuite/unordered_map/insert/map_single_move-2.cc: Likewise.
+       * testsuite/unordered_map/modifiers/61667.cc: Likewise.
+       * testsuite/unordered_map/modifiers/emplace.cc: Likewise.
+       * testsuite/unordered_map/modifiers/extract.cc: Likewise.
+       * testsuite/unordered_map/modifiers/insert_or_assign.cc: Likewise.
+       * testsuite/unordered_map/modifiers/merge.cc: Likewise.
+       * testsuite/unordered_map/modifiers/reserve.cc: Likewise.
+       * testsuite/unordered_map/modifiers/try_emplace.cc: Likewise.
+       * testsuite/unordered_map/operations/count.cc: Likewise.
+       * testsuite/unordered_map/operators/1.cc: Likewise.
+       * testsuite/unordered_map/operators/2.cc: Likewise.
+       * testsuite/unordered_multimap/allocator/copy.cc: Likewise.
+       * testsuite/unordered_multimap/allocator/copy_assign.cc: Likewise.
+       * testsuite/unordered_multimap/allocator/minimal.cc: Likewise.
+       * testsuite/unordered_multimap/allocator/move.cc: Likewise.
+       * testsuite/unordered_multimap/allocator/move_assign.cc: Likewise.
+       * testsuite/unordered_multimap/allocator/swap.cc: Likewise.
+       * testsuite/unordered_multimap/cons/moveable.cc: Likewise.
+       * testsuite/unordered_multimap/debug/construct5_neg.cc: Likewise.
+       * testsuite/unordered_multimap/debug/move_assign_neg.cc: Likewise.
+       * testsuite/unordered_multimap/debug/move_neg.cc: Likewise.
+       * testsuite/unordered_multimap/erase/1.cc: Likewise.
+       * testsuite/unordered_multimap/erase/2.cc: Likewise.
+       * testsuite/unordered_multimap/erase/24061-multimap.cc: Likewise.
+       * testsuite/unordered_multimap/erase/51845-multimap.cc: Likewise.
+       * testsuite/unordered_multimap/erase/54276.cc: Likewise.
+       * testsuite/unordered_multimap/hash_policy/dr1189.cc: Likewise.
+       * testsuite/unordered_multimap/init-list.cc: Likewise.
+       * testsuite/unordered_multimap/insert/24061-multimap.cc: Likewise.
+       * testsuite/unordered_multimap/insert/51866.cc: Likewise.
+       * testsuite/unordered_multimap/insert/52476.cc: Likewise.
+       * testsuite/unordered_multimap/insert/53115.cc: Likewise.
+       * testsuite/unordered_multimap/insert/57619.C: Likewise.
+       * testsuite/unordered_multimap/insert/hint.cc: Likewise.
+       * testsuite/unordered_multimap/insert/multimap_range.cc: Likewise.
+       * testsuite/unordered_multimap/insert/multimap_single.cc: Likewise.
+       * testsuite/unordered_multimap/insert/multimap_single_move-1.cc:
+       Likewise.
+       * testsuite/unordered_multimap/insert/multimap_single_move-2.cc:
+       Likewise.
+       * testsuite/unordered_multimap/modifiers/emplace.cc: Likewise.
+       * testsuite/unordered_multimap/modifiers/extract.cc: Likewise.
+       * testsuite/unordered_multimap/modifiers/merge.cc: Likewise.
+       * testsuite/unordered_multimap/modifiers/reserve.cc: Likewise.
+       * testsuite/unordered_multimap/operations/count.cc: Likewise.
+       * testsuite/unordered_multimap/operators/1.cc: Likewise.
+       * testsuite/unordered_multimap/operators/2.cc: Likewise.
+       * testsuite/unordered_multiset/allocator/copy.cc: Likewise.
+       * testsuite/unordered_multiset/allocator/copy_assign.cc: Likewise.
+       * testsuite/unordered_multiset/allocator/minimal.cc: Likewise.
+       * testsuite/unordered_multiset/allocator/move.cc: Likewise.
+       * testsuite/unordered_multiset/allocator/move_assign.cc: Likewise.
+       * testsuite/unordered_multiset/allocator/swap.cc: Likewise.
+       * testsuite/unordered_multiset/cons/copy.cc: Likewise.
+       * testsuite/unordered_multiset/cons/moveable.cc: Likewise.
+       * testsuite/unordered_multiset/debug/construct5_neg.cc: Likewise.
+       * testsuite/unordered_multiset/debug/move_assign_neg.cc: Likewise.
+       * testsuite/unordered_multiset/debug/move_neg.cc: Likewise.
+       * testsuite/unordered_multiset/erase/1.cc: Likewise.
+       * testsuite/unordered_multiset/erase/2.cc: Likewise.
+       * testsuite/unordered_multiset/erase/24061-multiset.cc: Likewise.
+       * testsuite/unordered_multiset/hash_policy/dr1189.cc: Likewise.
+       * testsuite/unordered_multiset/init-list.cc: Likewise.
+       * testsuite/unordered_multiset/insert/24061-multiset.cc: Likewise.
+       * testsuite/unordered_multiset/insert/51866.cc: Likewise.
+       * testsuite/unordered_multiset/insert/52476.cc: Likewise.
+       * testsuite/unordered_multiset/insert/53115.cc: Likewise.
+       * testsuite/unordered_multiset/insert/hash_policy.cc: Likewise.
+       * testsuite/unordered_multiset/insert/multiset_range.cc: Likewise.
+       * testsuite/unordered_multiset/insert/multiset_single.cc: Likewise.
+       * testsuite/unordered_multiset/insert/multiset_single_move.cc: Likewise.
+       * testsuite/unordered_multiset/modifiers/emplace.cc: Likewise.
+       * testsuite/unordered_multiset/modifiers/extract.cc: Likewise.
+       * testsuite/unordered_multiset/modifiers/merge.cc: Likewise.
+       * testsuite/unordered_multiset/modifiers/reserve.cc: Likewise.
+       * testsuite/unordered_multiset/operations/count.cc: Likewise.
+       * testsuite/unordered_multiset/operators/1.cc: Likewise.
+       * testsuite/unordered_set/allocator/copy.cc: Likewise.
+       * testsuite/unordered_set/allocator/copy_assign.cc: Likewise.
+       * testsuite/unordered_set/allocator/ext_ptr.cc: Likewise.
+       * testsuite/unordered_set/allocator/minimal.cc: Likewise.
+       * testsuite/unordered_set/allocator/move.cc: Likewise.
+       * testsuite/unordered_set/allocator/move_assign.cc: Likewise.
+       * testsuite/unordered_set/allocator/swap.cc: Likewise.
+       * testsuite/unordered_set/buckets/swap.cc: Likewise.
+       * testsuite/unordered_set/cons/moveable.cc: Likewise.
+       * testsuite/unordered_set/debug/construct5_neg.cc: Likewise.
+       * testsuite/unordered_set/debug/debug_functions.cc: Likewise.
+       * testsuite/unordered_set/debug/move_assign_neg.cc: Likewise.
+       * testsuite/unordered_set/debug/move_neg.cc: Likewise.
+       * testsuite/unordered_set/erase/1.cc: Likewise.
+       * testsuite/unordered_set/erase/24061-set.cc: Likewise.
+       * testsuite/unordered_set/hash_policy/26132.cc: Likewise.
+       * testsuite/unordered_set/hash_policy/71181.cc: Likewise.
+       * testsuite/unordered_set/hash_policy/dr1189.cc: Likewise.
+       * testsuite/unordered_set/hash_policy/load_factor.cc: Likewise.
+       * testsuite/unordered_set/hash_policy/power2_rehash.cc: Likewise.
+       * testsuite/unordered_set/hash_policy/prime_rehash.cc: Likewise.
+       * testsuite/unordered_set/hash_policy/rehash.cc: Likewise.
+       * testsuite/unordered_set/init-list.cc: Likewise.
+       * testsuite/unordered_set/insert/24061-set.cc: Likewise.
+       * testsuite/unordered_set/insert/hash_policy.cc: Likewise.
+       * testsuite/unordered_set/insert/move_range.cc: Likewise.
+       * testsuite/unordered_set/insert/set_range.cc: Likewise.
+       * testsuite/unordered_set/insert/set_single.cc: Likewise.
+       * testsuite/unordered_set/insert/set_single_move.cc: Likewise.
+       * testsuite/unordered_set/max_load_factor/robustness.cc: Likewise.
+       * testsuite/unordered_set/modifiers/emplace.cc: Likewise.
+       * testsuite/unordered_set/modifiers/extract.cc: Likewise.
+       * testsuite/unordered_set/modifiers/merge.cc: Likewise.
+       * testsuite/unordered_set/modifiers/reserve.cc: Likewise.
+       * testsuite/unordered_set/modifiers/swap.cc: Likewise.
+       * testsuite/unordered_set/operations/count.cc: Likewise.
+       * testsuite/unordered_set/operators/1.cc: Likewise.
+       * testsuite/vector/allocator/copy.cc: Likewise.
+       * testsuite/vector/allocator/copy_assign.cc: Likewise.
+       * testsuite/vector/allocator/ext_ptr.cc: Likewise.
+       * testsuite/vector/allocator/minimal.cc: Likewise.
+       * testsuite/vector/allocator/move.cc: Likewise.
+       * testsuite/vector/allocator/move_assign.cc: Likewise.
+       * testsuite/vector/allocator/swap.cc: Likewise.
+       * testsuite/vector/bool/6886.cc: Likewise.
+       * testsuite/vector/bool/72847.cc: Likewise.
+       * testsuite/vector/bool/allocator/copy.cc: Likewise.
+       * testsuite/vector/bool/allocator/copy_assign.cc: Likewise.
+       * testsuite/vector/bool/allocator/ext_ptr.cc: Likewise.
+       * testsuite/vector/bool/allocator/move.cc: Likewise.
+       * testsuite/vector/bool/allocator/move_assign.cc: Likewise.
+       * testsuite/vector/bool/allocator/swap.cc: Likewise.
+       * testsuite/vector/bool/capacity/1.cc: Likewise.
+       * testsuite/vector/bool/capacity/29134.cc: Likewise.
+       * testsuite/vector/bool/capacity/shrink_to_fit.cc: Likewise.
+       * testsuite/vector/bool/cons/1.cc: Likewise.
+       * testsuite/vector/bool/cons/2.cc: Likewise.
+       * testsuite/vector/bool/modifiers/erase/1.cc: Likewise.
+       * testsuite/vector/bool/modifiers/insert/1.cc: Likewise.
+       * testsuite/vector/bool/modifiers/insert/31370.cc: Likewise.
+       * testsuite/vector/bool/modifiers/swap/1.cc: Likewise.
+       * testsuite/vector/bool/modifiers/swap/2.cc: Likewise.
+       * testsuite/vector/bool/swap.cc: Likewise.
+       * testsuite/vector/capacity/1.cc: Likewise.
+       * testsuite/vector/capacity/2.cc: Likewise.
+       * testsuite/vector/capacity/29134-2.cc: Likewise.
+       * testsuite/vector/capacity/29134.cc: Likewise.
+       * testsuite/vector/capacity/44190.cc: Likewise.
+       * testsuite/vector/capacity/8230.cc: Likewise.
+       * testsuite/vector/capacity/reserve/moveable.cc: Likewise.
+       * testsuite/vector/capacity/reserve/moveable2.cc: Likewise.
+       * testsuite/vector/capacity/resize/1.cc: Likewise.
+       * testsuite/vector/capacity/resize/moveable.cc: Likewise.
+       * testsuite/vector/capacity/resize/moveable2.cc: Likewise.
+       * testsuite/vector/capacity/resize/resize_size.cc: Likewise.
+       * testsuite/vector/capacity/shrink_to_fit.cc: Likewise.
+       * testsuite/vector/capacity/shrink_to_fit2.cc: Likewise.
+       * testsuite/vector/cons/3.cc: Likewise.
+       * testsuite/vector/cons/4.cc: Likewise.
+       * testsuite/vector/cons/cons_size.cc: Likewise.
+       * testsuite/vector/cons/moveable.cc: Likewise.
+       * testsuite/vector/data_access/1.cc: Likewise.
+       * testsuite/vector/debug/debug_functions.cc: Likewise.
+       * testsuite/vector/debug/move_assign_neg.cc: Likewise.
+       * testsuite/vector/debug/move_neg.cc: Likewise.
+       * testsuite/vector/debug/multithreaded_swap.cc: Likewise.
+       * testsuite/vector/element_access/1.cc: Likewise.
+       * testsuite/vector/ext_pointer/citerators.cc: Likewise.
+       * testsuite/vector/ext_pointer/data_access.cc: Likewise.
+       * testsuite/vector/ext_pointer/modifiers/element.cc: Likewise.
+       * testsuite/vector/ext_pointer/modifiers/erase.cc: Likewise.
+       * testsuite/vector/ext_pointer/modifiers/insert.cc: Likewise.
+       * testsuite/vector/ext_pointer/resize.cc: Likewise.
+       * testsuite/vector/modifiers/1.cc: Likewise.
+       * testsuite/vector/modifiers/2.cc: Likewise.
+       * testsuite/vector/modifiers/emplace/self_emplace.cc: Likewise.
+       * testsuite/vector/modifiers/erase/1.cc: Likewise.
+       * testsuite/vector/modifiers/erase/moveable.cc: Likewise.
+       * testsuite/vector/modifiers/insert/1.cc: Likewise.
+       * testsuite/vector/modifiers/insert/self_insert.cc: Likewise.
+       * testsuite/vector/modifiers/moveable.cc: Likewise.
+       * testsuite/vector/modifiers/moveable2.cc: Likewise.
+       * testsuite/vector/modifiers/push_back/49836.cc: Likewise.
+       * testsuite/vector/modifiers/swap/1.cc: Likewise.
+       * testsuite/vector/modifiers/swap/2.cc: Likewise.
+       * testsuite/vector/modifiers/swap/3.cc: Likewise.
+       * testsuite/vector/zero_sized_allocations.cc: Likewise.
+
 2016-10-17  Jonathan Wakely  <jwakely@redhat.com>
 
        PR libstdc++/77998
index a248437c5433105043c7fd47366b34b98b92e291..5e2238f2d704c3319dcbaeb3a82c9b1323a801ff 100644 (file)
@@ -24,8 +24,6 @@ void
 test01() 
 {
   {
-    bool test __attribute__((unused)) = true;
-
     const size_t len = 5;
     typedef std::array<int, len> array_type;
     array_type a = { { 0, 1, 2, 3, 4 } };
@@ -34,8 +32,6 @@ test01()
   }
 
   {
-    bool test __attribute__((unused)) = true;
-
     const size_t len = 0;
     typedef std::array<int, len> array_type;
     array_type a;
index fdfbb90209e86423a46926c2093e256d8cb85a34..76f4fb99e3b35045e9445de735b6aa6662b8872f 100644 (file)
@@ -24,8 +24,6 @@ void
 test01() 
 {
   {
-    bool test __attribute__((unused)) = true;
-
     const size_t len = 5;
     typedef std::array<int, len> array_type;
     array_type a = { { 0, 1, 2, 3, 4 } };
@@ -34,8 +32,6 @@ test01()
   }
 
   {
-    bool test __attribute__((unused)) = true;
-
     const size_t len = 0;
     typedef std::array<int, len> array_type;
     array_type a;
index a070d9678587b24eda1aaf372ea330c1adea72a3..c53e1207ee8e26c4493d0fc68b8f52bbf4d42d43 100644 (file)
@@ -24,8 +24,6 @@ void
 test01() 
 {
   {
-    bool test __attribute__((unused)) = true;
-
     const size_t len = 5;
     typedef std::array<int, len> array_type;
     array_type a = { { 0, 1, 2, 3, 4 } };
@@ -34,8 +32,6 @@ test01()
   }
 
   {
-    bool test __attribute__((unused)) = true;
-
     const size_t len = 0;
     typedef std::array<int, len> array_type;
     array_type a;
index 4df3df9a009b98c5c0525362d825f85dcef1640e..2337410fe052ed1270be6c0d21d70338d55c850c 100644 (file)
@@ -25,7 +25,6 @@ test01()
 { 
   const size_t len = 5;
   typedef std::array<int, len> array_type;
-  bool test __attribute__((unused)) = true;
   array_type a = { { 0, 1, 2, 3, 4 } };
   array_type b = { { 0, 1, 2, 3, 4 } };
   array_type c = { { 0, 1, 2, 3 } };
index 25d96ed697320484fd3a3ea2feabf625409b26b8..aec584273f472f19c1e52d505f8ba0e64aa59dbc 100644 (file)
@@ -25,7 +25,6 @@ test01()
 { 
   const size_t len = 5;
   typedef std::array<int, len> array_type;
-  bool test __attribute__((unused)) = true;
   array_type a = { { 0, 1, 2, 3, 4 } };
   array_type b = { { 0, 1, 2, 3, 4 } };
   array_type c = { { 0, 1, 2, 3, 7 } };
index e2f3dc29de947fbfd11452899546e850d2127397..d76fab6288a6e3099291e794eba1c4ac8ce7ad0f 100644 (file)
@@ -25,7 +25,6 @@ test01()
 { 
   const size_t len = 5;
   typedef std::array<int, len> array_type;
-  bool test __attribute__((unused)) = true;
   array_type a = { { 0, 1, 2, 3, 4 } };
   array_type b = { { 0, 1, 2, 3, 4 } };
   array_type c = { { 0, 1, 2, 3, 7 } };
index 965466713b8e6fc00bd17e3f393ad39eead226c2..06b973bfaf3bdc4a41ecc6a519f30caed1e6c166 100644 (file)
@@ -25,7 +25,6 @@ test01()
 { 
   const size_t len = 5;
   typedef std::array<int, len> array_type;
-  bool test __attribute__((unused)) = true;
   array_type a = { { 0, 1, 2, 3, 4 } };
   array_type b = { { 0, 1, 2, 3, 4 } };
   array_type c = { { 0, 1, 2, 3, 7 } };
index 5075927fc555651ed4c989cf19d93dc7f57e250a..7285358f0f48a12e79940d8346c0adb6d2417815 100644 (file)
@@ -25,7 +25,6 @@ test01()
 { 
   const size_t len = 5;
   typedef std::array<int, len> array_type;
-  bool test __attribute__((unused)) = true;
   array_type a = { { 0, 1, 2, 3, 4 } };
   array_type b = { { 0, 1, 2, 3, 4 } };
   array_type c = { { 0, 1, 2, 3, 7 } };
index 874ff0ee41bdfa90fdf7737141cd6a563baed40c..b186acc371aa9c1debd4b5870e3c7b27f243162d 100644 (file)
@@ -25,7 +25,6 @@ test01()
 { 
   const size_t len = 5;
   typedef std::array<int, len> array_type;
-  bool test __attribute__((unused)) = true;
   array_type a = { { 0, 1, 2, 3, 4 } };
   array_type b = { { 0, 1, 2, 3, 4 } };
   array_type c = { { 0, 1, 2, 3 } };
index f8ce419e7f56889b35e9a0a2c499f2aff8a63186..77c46fedb0e87df6cb5e9ca04cac807651c7f507 100644 (file)
@@ -29,8 +29,6 @@ struct A
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   const std::array<A, 1> a;
   const A& aa = a.at(0);
   VERIFY(aa.valid);
index e85255c52e8ca800b0ea79e79c5c00cb52f04a4f..c2dac6fe28fa8ffecfb7234a00ada9422e24f067 100644 (file)
@@ -24,8 +24,6 @@
 void
 test01() 
 {
-  bool test __attribute__((unused)) = true;
-
   const size_t len = 5;
   typedef std::array<int, len> array_type;
   array_type a = { { 0, 1, 2, 3, 4 } };
index 457dd9c4a174806b267f657983dd5688fe3b495e..d82fd8eb8e33ed122989349542a66090fa51f8c3 100644 (file)
@@ -22,9 +22,7 @@
 
 void
 test01() 
-{ 
-  bool test __attribute__((unused)) = true;
-
+{
   const size_t len = 5;
   typedef std::array<int, len> array_type;
 
index d6413132f48db38dd3e947ab552b4b3cd9d4d269..59ec682d5a4f54f64cdf499039c0a5ee5faa9656 100644 (file)
@@ -22,9 +22,7 @@
 
 void
 test01() 
-{ 
-  bool test __attribute__((unused)) = true;
-
+{
   const size_t len = 5;
   typedef std::array<int, len> array_type;
 
index bb7f964a050fbbd7844eb74028df8930c74433f3..d00d01699672a71f72d8df6911775de3c2eeddaa 100644 (file)
@@ -22,9 +22,7 @@
 
 void
 test01() 
-{ 
-  bool test __attribute__((unused)) = true;
-
+{
   const size_t len = 5;
   typedef std::array<int, len> array_type;
 
index a24fc6cef9027fd79408001ef6eda3bf4bc8de58..d3eb094fadcf87f76693a616b0192740a59c2b05 100644 (file)
@@ -23,8 +23,6 @@
 void
 test01() 
 {
-  bool test __attribute__((unused)) = true;
-
   const size_t len = 5;
   typedef std::array<int, len> array_type;
   array_type a = { { 0, 1, 2, 3, 4 } };
index 7292feca24272d37b4feb2da76f3eef17726cd25..55e875372b1070eb38899900ec4659ed63afd1d5 100644 (file)
@@ -23,8 +23,6 @@
 void
 test01() 
 {
-  bool test __attribute__((unused)) = true;
-
   const size_t len = 5;
   typedef std::array<int, len> array_type;
   array_type a = { { 0, 1, 2, 3, 4 } };
index d11537a63443c8f7aa96b2ef2824749de4dd9904..ca0c1c784f7f1b30b424694a167fc8d4ccb7cc39 100644 (file)
@@ -24,9 +24,7 @@
 
 // DR 776. Undescribed assign function of std::array.
 void test01()
-{ 
-  bool test __attribute__((unused)) = true;
-
+{
   const size_t len = 3;
   typedef std::array<int, len> array_type;
 
index d7881d1977a673d67355e8b27a3425679dddaf89..fd269807e6548ca555d0ed5baf39f21bf9a297a5 100644 (file)
@@ -22,9 +22,7 @@
 
 void
 test01() 
-{ 
-  bool test __attribute__((unused)) = true;
-
+{
   const size_t len = 5;
   typedef std::array<int, len> array_type;
 
index 6371e10728e30bf47fff1fe4b17d21c838719da4..5cf3ac43ecacbfafb0777a4363e9c1764fa6f7eb 100644 (file)
@@ -23,8 +23,6 @@
 void
 test01() 
 {
-  bool test __attribute__((unused)) = true;
-
   const size_t len = 0;
   typedef std::array<int, len> array_type;
 
index 9fe5b80c07167f059a3711c2098a473f97f1e908..cc17239fc7f757a84b101a94f5c5a53a443f694e 100644 (file)
@@ -22,9 +22,7 @@
 
 void
 test01() 
-{ 
-  bool test __attribute__((unused)) = true;
-
+{
   const size_t len = 5;
   typedef std::array<int, len> array_type;
 
index 8f3e7c6c1e6ce795bc3416165db22fb8e49bd977..0bc339119d583c8e90f0ca420f9b3a50bb304d07 100644 (file)
@@ -23,8 +23,7 @@
 
 void
 test01() 
-{ 
-  bool test __attribute__((unused)) = true;
+{
   using std::array;
   using std::tuple_element;
   // This relies on the fact that <utility> includes <type_traits>:
index 3e081dce27d70f7f7121546343753680e0a52886..861c41085c5d39580d8899893790bc3869dda66c 100644 (file)
@@ -24,7 +24,6 @@
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   const size_t len = 3;
index 33ad01cbc019506f7e0e02371b56864330354d77..f79febce09d05b19d1a1a297aff92179d16de030 100644 (file)
@@ -23,8 +23,7 @@
 
 void
 test01() 
-{ 
-  bool test __attribute__((unused)) = true;
+{
   using std::array;
   using std::tuple_size;
   // This relies on the fact that <utility> includes <type_traits>:
index c59721bc6de1766c271d6d6f1b334d4f5a340698..b987320207092cab3b139f3bbf54aab708f63975 100644 (file)
@@ -25,8 +25,6 @@
 // DR 693. std::bitset::all() missing.
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::bitset<0> z1;
   VERIFY( z1.all() );
   z1.set();
index 672935bb13bf6bb0ec2620c97fb4a38268ee7e0d..2217152994d19bb39ba2386aacc3c8a425a08062 100644 (file)
 #include <stdexcept>
 #include <testsuite_hooks.h>
 
-bool test01(void)
+void test01(void)
 {
-  bool test __attribute__((unused)) = true;
-
   // bitset()
   const size_t n1 = 5;
   std::bitset<n1> bit01;
@@ -73,7 +71,6 @@ bool test01(void)
   catch(...) {
     VERIFY( false );
   }
-  return test;
 }
 
 int main()
index 1d5b380616471a68a585e4dffcdbff437d68304e..470c139ded81e47d6628073fc983187ffe2df090 100644 (file)
@@ -22,7 +22,6 @@
 void test01()
 {
   using __gnu_debug::bitset;
-  bool test __attribute__((unused)) = true;
 
   bitset<5> b(7);
   bitset<5> c;
index d5cd9a095994a3e3143b4ce4c56da143dfaa6d69..5985053044d2546dd8203813c84ee166b9f969eb 100644 (file)
@@ -29,8 +29,6 @@ struct X
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   X x;
   std::string s(x);
   std::bitset<32> b1(static_cast<const char*>(x));
index 982565831fed245aa769d83fcac529eae6a04ed1..c60763eac813586b15b046546f30632ba9d84167 100644 (file)
@@ -24,8 +24,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   const unsigned long long num0 = 0ULL;
   std::bitset<0> bs0(num0);
   VERIFY( bs0.to_ullong() == num0 );
index f145a8437ae14bb8bba47b7098d84c23967fc39b..ee9118da112506c207cb77f81e764be504612470 100644 (file)
@@ -23,8 +23,6 @@
 // libstdc++/50268
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::bitset<1> b1(3ULL);
   VERIFY( b1.count() == 1ULL );
 
index 052a717b79530a625efb6fd17ea621b487b0dd4a..15cdd8483eff7392d30bc1a958bf64a789145f5a 100644 (file)
 
 // boundary condition:  a zero-sized set
 // libstdc++/6282
-bool test02(void)
+void test02(void)
 {
   using std::char_traits;  using std::allocator;
-  bool test __attribute__((unused)) = true;
 
   std::bitset<0>  z1;
   VERIFY( z1.any() == false );
@@ -53,7 +52,6 @@ bool test02(void)
 
   VERIFY( z1.to_ulong() == 0 );
   VERIFY( (z1.to_string<char,char_traits<char>,allocator<char> >().empty() ));
-  return test;
 }
 
 int main()
index 02f648a5a109e986146b3b49769b79f3ecc52839..3b80d212377b632df9b20a010b48c3e3e0500cd9 100644 (file)
@@ -38,7 +38,6 @@ template<std::size_t Nb, typename CharT>
 // DR 1325.
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   const char s1[4] = { '0', '1', '0', '1' };
index cd07a8cec5c470ad1e068bce0bca8fe43ec051d4..7d4403951bbc450681df28717f7dab33552183e5 100644 (file)
@@ -23,8 +23,6 @@
 // DR 396. what are characters zero and one.
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::bitset<4> z1(std::string("bbab"), 0, std::string::npos, 'a', 'b');
   VERIFY( z1.to_string('a', 'b') == "bbab" );
 
index e7191580fab64cd18aa04534732b86f15ef5c6be..700e339390ad7267759cf93281e28b4dcde930dd 100644 (file)
@@ -22,7 +22,6 @@
 void test01()
 {
   using namespace std;
-  bool test __attribute__((unused)) = true;
 
   bitset<256> b;
   b.set(225);
index e8531ea3de9eddda7aef64f5cb7e28a3c3c67ee3..28d1a27145383bb8fc1bc4e87ff959b8c0bed48d 100644 (file)
@@ -26,7 +26,6 @@
 void test01()
 {
   using namespace std;
-  bool test __attribute__((unused)) = true;
 
   bitset<5>      b5;
   bitset<0>      b0;
index 631bc3232e26522112812dfba9f6c0312bc06887..160ce167571494d1f4bc9eedebd9d20265253111 100644 (file)
@@ -56,8 +56,9 @@ shift_arrays(size_t shift_step, size_t size) {
 
 template <size_t size>
   bool
-  do_test() {
-    bool test __attribute__((unused)) = true;
+  do_test()
+  {
+    bool test = true;
 
     std::bitset<size> shifted;
     std::bitset<size> correct;
@@ -86,10 +87,8 @@ template <size_t size>
     return test;
   }
 
-bool
+void
 test01() {
-  bool test __attribute__((unused)) = true;
-
   VERIFY( do_test<32>() );
   VERIFY( do_test<48>() );
   VERIFY( do_test<64>() );
@@ -97,7 +96,6 @@ test01() {
   VERIFY( do_test<511>() );
   VERIFY( do_test<513>() );
   VERIFY( do_test<997>() );
-  return test;
 }
 
 int
index a8427db2d6aeb9bf08d0e5b15c73ba39849b1060..b87297cb4b05f265ec5cce22438e91027466cc0c 100644 (file)
@@ -22,7 +22,6 @@
 void test01()
 {
   using __gnu_debug::bitset;
-  bool test __attribute__((unused)) = true;
 
   bitset<4>  b0, b1;
   b0.set(1);
index 16a1161187f0dcd26fecd9c82549892a6e614865..19978fd9073826376398eb9656f737703712becf 100644 (file)
 #include <bitset>
 #include <testsuite_hooks.h>
 
-bool
+void
 test02()
 {
-  bool test __attribute__((unused)) = true;
-
   std::bitset<66>  b;
   b <<= 400;
   VERIFY( b.count() == 0 );
-  return test;
 }
 
 int
index ee4256b57f2a83a753976deb690446b45385ba10..0637f39ac42c188b01a0d4119d1e3b9f802afea9 100644 (file)
@@ -27,7 +27,6 @@
 void 
 test01(void)
 {
-  bool test __attribute__((unused)) = true;
   const size_t n1 = 5;
 
   // the other 22 member functions should be in here too...
@@ -42,7 +41,6 @@ test01(void)
   catch(...) {
     VERIFY( false );
   }
-  VERIFY( test );
 }
 
 int main()
index 84af293656b24c816f232702976356b4cf3c9bda..f2bdbe6511750c097b62c1b64adda174652edafa 100644 (file)
@@ -25,7 +25,6 @@
 void test01()
 {
   using namespace std;
-  bool test __attribute__((unused)) = true;
 
   bitset<5> b5;
   string s0 = b5.to_string<char, char_traits<char>, allocator<char> >();
index 9201bc774e91c2455388e952c5e2356c18a75994..fed5564d91262c06ff11a6ec3c1415e82badcd60 100644 (file)
@@ -26,7 +26,6 @@
 void test01()
 {
   using namespace std;
-  bool test __attribute__((unused)) = true;
 
   bitset<5> b5;
   string s0 = b5.to_string<char, char_traits<char>, allocator<char> >('a', 'b');
index baffa14f8f643dd06303b9174f904094328d149a..51b22cf24f831cbb1c449ff296bca74528c847a9 100644 (file)
@@ -24,8 +24,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::bitset<0> bs0;
   VERIFY( bs0.to_ullong() == 0 );
 
index cda9167a8d994940f884876ad5622d66666b76ad..7f81299e259acf14edb580cdf29ad07dff410fd1 100644 (file)
@@ -26,7 +26,6 @@
 
 void test03()
 {
-  bool test __attribute__((unused)) = true;
   std::bitset<5>      b;
   std::stringstream   ss("101");
   ss.exceptions(std::ios_base::eofbit);
index b7ce4d3afb614881e8f1718898c1eac9805b2e80..69a1edac6111b6cf125e32d99b161e8dd976ce70 100644 (file)
@@ -27,7 +27,6 @@ using __gnu_test::propagating_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::deque<T, alloc_type> test_type;
   test_type v1(1, alloc_type(1));
@@ -38,7 +37,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::deque<T, alloc_type> test_type;
   test_type v1(1, alloc_type(1));
@@ -49,7 +47,6 @@ void test02()
 
 void test03()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::deque<T, alloc_type> test_type;
   test_type v1(1, alloc_type(1));
index 001f8a88f5961889cc9c0b7c9586b70dcbc2e7d6..09387b19e6754f34176895a6e9daf53bb3c21216 100644 (file)
@@ -27,7 +27,6 @@ using __gnu_test::propagating_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::deque<T, alloc_type> test_type;
   test_type v1(1, alloc_type(1));
@@ -39,7 +38,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::deque<T, alloc_type> test_type;
   test_type v1(1, alloc_type(1));
index a8fd1ba412d68b3216c4fed532e197a714d418c4..e1d13fa239d96d2dc86d3d0e09fe4373167d8142 100644 (file)
@@ -30,7 +30,6 @@ template class std::deque<T, CustomPointerAlloc<T>>;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef CustomPointerAlloc<T> alloc_type;
   typedef std::deque<T, alloc_type> test_type;
   test_type v(1);
index 709f6dcb963d48791e436331cf18bdd598675ea8..9f0ccf4c577a8a8864562d9a4c541aa11c057417 100644 (file)
@@ -30,7 +30,6 @@ template class std::deque<T, SimpleAllocator<T>>;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef SimpleAllocator<T> alloc_type;
   typedef std::allocator_traits<alloc_type> traits_type;
   typedef std::deque<T, alloc_type> test_type;
index 668d517e7903666fc37d0ed0b269f1a242e8425c..d525d68f36723b2112f392ac015eaf888e3a4ad8 100644 (file)
@@ -27,7 +27,6 @@ using __gnu_test::uneq_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef uneq_allocator<T> alloc_type;
   typedef std::deque<T, alloc_type> test_type;
   test_type v1(1, alloc_type(1));
@@ -45,7 +44,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef uneq_allocator<T> alloc_type;
   typedef std::deque<T, alloc_type> test_type;
   test_type v1(1, alloc_type(1));
index f554210d3c07462973796ded590a9a65505bd6c2..e667b0df69d692af668751cb35e7949f3aad2ef0 100644 (file)
@@ -27,7 +27,6 @@ using __gnu_test::propagating_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::deque<T, alloc_type> test_type;
   test_type v1(1, alloc_type(1));
@@ -39,7 +38,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::deque<T, alloc_type> test_type;
   test_type v1(1, alloc_type(1));
@@ -53,7 +51,6 @@ void test02()
 
 void test03()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::deque<T, alloc_type> test_type;
   test_type v1(1, alloc_type(1));
index c8911721ddf71b00267b70b9a4faf55f213e0974..2f0a1a0df4dcfdd46892c7bf0f018d0ba9bf58c4 100644 (file)
@@ -45,7 +45,6 @@ operator!=(const propagating_allocator<T, false>&,
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::deque<T, alloc_type> test_type;
   test_type v1(1, alloc_type(1));
@@ -59,7 +58,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::deque<T, alloc_type> test_type;
   test_type v1(1, alloc_type(1));
index 3bb7c2a50e5c25cb6d6cefe36e048e30ea34ad3f..c59895707f9aad15114c86e7c3942eeab5e1558c 100644 (file)
@@ -24,7 +24,6 @@
 // libstdc++/29134
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   deque<int> d;
index c10ef52b3c2d3c823d029f6f158af3ff4e3f7412..1e7a1c896f85af1e81aeb3cf1753d0872dbb9db6 100644 (file)
@@ -23,8 +23,6 @@
 // libstdc++/29134
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::deque<int> d;
 
   VERIFY( d.max_size() == d.get_allocator().max_size() );
index d94073071da267a8cb9b6ae0ebc54081b3d83887..320fa4fe9b93a1987c237e19c17e0cdb9d2c0a87 100644 (file)
@@ -26,8 +26,6 @@ using namespace __gnu_test;
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::deque<copycounter> a;
   copycounter::copycount = 0;
   a.resize(10);
index 0d2eb2a37b2888e464aac4885d30bca859fc10a3..d1273da3a9df4aa080cca43cc25f14e06dc04ae9 100644 (file)
@@ -25,8 +25,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::deque<__gnu_test::NonCopyConstructible> d;
   VERIFY( std::distance(d.begin(), d.end()) == 0 );
 
index 3137b70a3574b7776d1d426c720e9ff38db1e2b3..0f0703e4f2dc31de8e5d2081c0a97ed321ebe05f 100644 (file)
@@ -25,8 +25,6 @@
 // libstdc++/42573
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::vector<int> d(100);
   d.push_back(1);
   d.push_back(1);
index 12480785b2e41f7f8089277ec1a7c09b6c824b86..73110ed7363f51c323755e7890736ce567f1b9fe 100644 (file)
@@ -27,8 +27,6 @@
 
 typedef std::deque<__gnu_test::object_counter>   gdeque;
 
-bool test __attribute__((unused)) = true;
-
 // see http://gcc.gnu.org/ml/libstdc++/2001-11/msg00139.html
 void
 test01()
index d94677e1c02960450361d28d355b3a67a3ca35ae..5eacacec00232b0da405627ca13ba491660e3318 100644 (file)
@@ -35,8 +35,6 @@ using __gnu_test::destructor;
 
 typedef std::deque<object_counter>   gdeque;
 
-bool test __attribute__((unused)) = true;
-
 // 23.2.1     required types
 //
 // A missing required type will cause a compile failure.
index fb4226e5ce069894904edcb3d8ee9cf35ebb281f..215af713b6fb1c02a2d583828f03e14b88b2c92d 100644 (file)
@@ -25,7 +25,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   int data3[1000];
index c2d8e63de72eb31fcf640569a0b43ff1fdbcaa26..680c076d66340fdc347d4663ad1113232fbe90c7 100644 (file)
@@ -25,8 +25,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::deque<__gnu_test::NonCopyConstructible> d(1000);
   VERIFY( std::distance(d.begin(), d.end()) == 1000 );
   for(auto it = d.begin(); it != d.end(); ++it)
index 6779ce1f50b289cdb7660e9196e742ba8007e62e..551a3d9f35e604853798e0190dd8b418f7f203f8 100644 (file)
@@ -28,8 +28,6 @@
 
 int main()
 {
-  bool test __attribute__((unused)) = true;
-
   std::deque<int> a,b;
   a.push_back(1);
   b = std::move(a);
index e16f260f16885ac88328603dfe499a999c5a9258..20a64f092bc969757f7bf1f65aa18ff1c64c4441 100644 (file)
@@ -38,8 +38,6 @@ const unsigned N5 = sizeof(A5) / sizeof(int);
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef std::deque<int>                deque_type;
   typedef deque_type::iterator        iterator_type;
 
@@ -78,8 +76,6 @@ test01()
 void
 test02()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef std::deque<std::deque<int> >   deque_type;
   typedef deque_type::iterator        iterator_type;
 
index c2075f3889a75ce545dbb495146c8c2ad5bd2d9b..a2e4dbfa0d418c9e549af8e7163a0725fbae472a 100644 (file)
@@ -58,8 +58,6 @@ template<typename T>
   void
   test01()
   {
-    bool test __attribute__((unused)) = true;
-    
     typedef std::deque<T>                         deque_type;
     typedef typename deque_type::iterator      iterator_type;
 
index 912b2fc7c39a005953032988abe3952de3468844..07aaee732d71d6b3e604a13c6e39815c66d329be 100644 (file)
@@ -22,7 +22,6 @@
 
 void erase(size_t num_elm, size_t elm_strt, size_t elm_end)
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::copy_tracker;
   using __gnu_test::assignment_operator;
 
index 9bfd306057fd764c577cdeaecb7e2484f53afae2..695b4e30a5d8b737c6d2b66872f19db9ae6630c8 100644 (file)
@@ -27,7 +27,6 @@
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace __gnu_test;
 
   std::deque<copycounter> a(40);
index 7cee6f02de37f5381f2ea8636f16ae98bda0b054..dd706aa0bbcc716a3e7de78b9afeab022b75268f 100644 (file)
@@ -28,8 +28,6 @@ using namespace __gnu_test;
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::deque<copycounter> a;
   copycounter c(1);
   copycounter::copycount = 0;
@@ -42,8 +40,6 @@ test01()
 void
 test02()
 {
-  bool test __attribute__((unused)) = true;
-
   std::deque<copycounter> a;
   copycounter c(1);
   copycounter::copycount = 0;
@@ -56,8 +52,6 @@ test02()
 void
 test03()
 {
-  bool test __attribute__((unused)) = true;
-
   std::deque<copycounter> a(1000);
   copycounter c(1);
   copycounter::copycount = 0;
@@ -73,8 +67,6 @@ test03()
 void
 test04()
 {
-  bool test __attribute__((unused)) = true;
-
   copycounter c(1);
   std::deque<copycounter> a(10, c);
   copycounter::copycount = 0;
@@ -100,8 +92,6 @@ test04()
 void
 test05()
 {
-  bool test __attribute__((unused)) = true;
-  
   copycounter c(1);
   std::deque<copycounter> a(10, c);
   copycounter::copycount = 0;
index d40610d5a0716f15ceb870f405a5d76744ff0c21..74bbdbf96b1994780533ab97c7266d9a59b5ad00 100644 (file)
@@ -24,7 +24,6 @@
 // libstdc++/49836
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::CopyConsOnlyType;
   using __gnu_test::MoveConsOnlyType;
 
index 44cf03dc08e21d4456ad58097ad9a11eddd6119a..8139ce47b5e979be6f3344eb4d5dbc766e05eb5e 100644 (file)
@@ -24,7 +24,6 @@
 // libstdc++/49836
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::CopyConsOnlyType;
   using __gnu_test::MoveConsOnlyType;
 
index 6b2bdd3881ad4c6527072473209a3bad6dfd965a..a873914b5bf61eb0db59490193ab980733eaa2ef 100644 (file)
@@ -33,7 +33,6 @@ namespace std
 // Should use deque specialization for swap.
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   std::deque<T> A;
   std::deque<T> B;
   swap_calls = 0;
@@ -44,7 +43,6 @@ void test01()
 // Should use deque specialization for swap.
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
   deque<T> A;
   deque<T> B;
index c9600ccc3946007e3f817fdf77ba87755a3a7f73..f7c2a9e6798b2e3e3f843fe3f970aecd1c7baad9 100644 (file)
@@ -27,7 +27,6 @@
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   typedef __gnu_test::uneq_allocator<char> my_alloc;
index aa2e21575dabdcdc9ce313dd6da69439e34a7682..e07fc4c2f2e54c92265fd6ba298fa45bf0152311 100644 (file)
@@ -27,7 +27,6 @@
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   typedef __gnu_test::uneq_allocator<char> my_alloc;
index 341421c1f759144bdf2df25a5a7067f5d0aa732b..b55325207e0360e860bba78cf49be4f6e775cd58 100644 (file)
@@ -25,8 +25,6 @@
 // libstdc++/6503
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::deque<int> d(2);       
   typedef std::deque<int>::iterator iter;         
   typedef std::deque<int>::const_iterator constiter;
index bef3da4ee3c702be5ed9baea7e536ca4cdf8cc69..45653a6280258916974bc02cb14de90ea9d32c57 100644 (file)
@@ -25,8 +25,6 @@
 // libstdc++/7186
 void test02()
 {
-  bool test __attribute__((unused)) = true;
-
   std::deque<int> d(2);       
   typedef std::deque<int>::iterator iter;         
   typedef std::deque<int>::const_iterator constiter;
index fbf24cddf7dfdb906614b06f2056776ca1c1ab19..83e8abe1689182d55003ada8fa00101d1972bb06 100644 (file)
@@ -27,7 +27,6 @@ using __gnu_test::propagating_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::forward_list<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -39,7 +38,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::forward_list<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -51,7 +49,6 @@ void test02()
 
 void test03()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::forward_list<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
index ee39149c29c8879a1ed5693e58460ff0102c7f48..30250f9d215798107fa3f07ca1784a0af93d151d 100644 (file)
@@ -27,7 +27,6 @@ using __gnu_test::propagating_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::forward_list<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -41,7 +40,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::forward_list<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
index c164a6ad73b4810fbd1490ceb5e0f21fb7fbdd15..ddda769b92cd1ac2d8a361520a901f8f45397d29 100644 (file)
@@ -32,7 +32,6 @@ template class std::forward_list<T, CustomPointerAlloc<T>>;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef CustomPointerAlloc<T> alloc_type;
   typedef std::forward_list<T, alloc_type> test_type;
   test_type v;
index 3d5ac411510e9a0841d6b8ace1d44c0566f9e1ec..e280fe875f7db7a7a884dace5054c94dd401676e 100644 (file)
@@ -32,7 +32,6 @@ template class std::forward_list<T, SimpleAllocator<T>>;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef SimpleAllocator<T> alloc_type;
   typedef std::allocator_traits<alloc_type> traits_type;
   typedef std::forward_list<T, alloc_type> test_type;
index 554c9b01eb94d9b047da7754108720071f4f35d5..39ec8ae23fdbdb4b896ab89269fb937be39665b8 100644 (file)
@@ -27,7 +27,6 @@ using __gnu_test::uneq_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef uneq_allocator<T> alloc_type;
   typedef std::forward_list<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -41,7 +40,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef uneq_allocator<T> alloc_type;
   typedef std::forward_list<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
index e4fbbb2b9b69fe999e6f8a548274b0fbf35e1f2f..098c7023b4ee138fa2a048cb180be1040950b990 100644 (file)
@@ -27,7 +27,6 @@ using __gnu_test::propagating_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::forward_list<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -41,7 +40,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::forward_list<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
index 9436438f846e2d27be238322b1defe7dddec146e..499433e51b9eeddeab3640360cfa3dd0df54299f 100644 (file)
@@ -44,7 +44,6 @@ operator!=(const propagating_allocator<T, false>&,
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::forward_list<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -60,7 +59,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::forward_list<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
index 79b47dafa07842b65aee3ee63861b560f04c2bb8..f5edcdc3747bf683195041821d06b7f09f5ab7fb 100644 (file)
@@ -25,8 +25,6 @@
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::forward_list<double> fld;
   VERIFY(fld.empty() == true);
 
index 99f30fa0dc49fdf87efe6b053f91172cd01e1ef4..6e3d9bc03bf136fb945d7c7f76b3a2c71f82ea1d 100644 (file)
@@ -25,8 +25,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::forward_list<__gnu_test::NonCopyConstructible> fl;
   VERIFY( std::distance(fl.begin(), fl.end()) == 0 );
 
index 7e7663b3dbc0b98e6c586ff254552f67612ac9d5..1c4b3bc1ac09ec236324be5aabc26dcf82455774 100644 (file)
@@ -25,8 +25,6 @@
 #include <forward_list>
 #include <testsuite_hooks.h>
 
-bool test __attribute__((unused)) = true;
-
 int main()
 {
   std::forward_list<double> a = {0.0, 1.0, 2.0, 3.0, 4.0};
index 7879de8c41b33c99e650547b8fd8e24369530019..415e3f80bc76d1c3f95d8faf3b271c569428c588 100644 (file)
@@ -20,9 +20,6 @@
 // 23.2.3.n forward_list xxx [lib.forward_list.xxx]
 
 #include <forward_list>
-#include <testsuite_hooks.h>
-
-bool test __attribute__((unused)) = true;
 
 // This test verifies the following:
 //   Default construction
index 10897645ddf1d1a4383e5e46d763e47e33a2604f..657bdfb4497a6fa5accd2dabeb9a3d45ce38a3d7 100644 (file)
@@ -20,9 +20,6 @@
 // 23.2.3.n forward_list xxx [lib.forward_list.xxx]
 
 #include <forward_list>
-#include <testsuite_hooks.h>
-
-bool test __attribute__((unused)) = true;
 
 // This test verifies the following:
 //   Construction from iterator range
index d862130611b6a8eb7cd34773edde343f97875b95..a9df8b85c0616386d080d3ec2e17b29156d3879c 100644 (file)
@@ -20,9 +20,6 @@
 // 23.2.3.n forward_list xxx [lib.forward_list.xxx]
 
 #include <forward_list>
-#include <testsuite_hooks.h>
-
-bool test __attribute__((unused)) = true;
 
 // This test verifies the following:
 //   Move construction with allocator
index a3524bbf2eed302877cc479151fb94b56a716b5b..25287fe2fcb1ff70bbff6eaded3ac2f443ce95b4 100644 (file)
@@ -20,9 +20,6 @@
 // 23.2.3.n forward_list xxx [lib.forward_list.xxx]
 
 #include <forward_list>
-#include <testsuite_hooks.h>
-
-bool test __attribute__((unused)) = true;
 
 // This test verifies the following:
 //   Construction from given number of default item
index 8721444ca92ff4a0739ce05e128e42def65a68ce..8f2f1a9805161892694c7d2361027decdfad6dcf 100644 (file)
@@ -20,9 +20,6 @@
 // 23.2.3.n forward_list xxx [lib.forward_list.xxx]
 
 #include <forward_list>
-#include <testsuite_hooks.h>
-
-bool test __attribute__((unused)) = true;
 
 // This test verifies the following:
 //   Construction from given number of given item
index cbfea664d4323d0263919de9b592bb4c31b18055..73562997f08a8474b32aab1257a881483f7008ad 100644 (file)
@@ -20,9 +20,6 @@
 // 23.2.3.n forward_list xxx [lib.forward_list.xxx]
 
 #include <forward_list>
-#include <testsuite_hooks.h>
-
-bool test __attribute__((unused)) = true;
 
 // This test verifies the following:
 //   Construction from iterator range
index 430bf90747fd950f6735172fe6e738a9b804e2c5..ba891e6e6e2aafa8c5631ad9f54f30dbb5df3d22 100644 (file)
@@ -20,9 +20,6 @@
 // 23.2.3.n forward_list xxx [lib.forward_list.xxx]
 
 #include <forward_list>
-#include <testsuite_hooks.h>
-
-bool test __attribute__((unused)) = true;
 
 // This test verifies the following:
 //   Copy construction
index 9c8eefb18b6fb03fd800429763381fb75a07507b..aa1049d4b771b0177aa051f1dbb3fb515f9e2e50 100644 (file)
@@ -20,9 +20,6 @@
 // 23.2.3.n forward_list xxx [lib.forward_list.xxx]
 
 #include <forward_list>
-#include <testsuite_hooks.h>
-
-bool test __attribute__((unused)) = true;
 
 // This test verifies the following:
 //   Move construction
index 99a7a976c69cc104669272c0931bba1c25957308..e76c8e29ca00832c290174dfa804dde4517050ad 100644 (file)
@@ -20,9 +20,6 @@
 // 23.2.3.n forward_list xxx [lib.forward_list.xxx]
 
 #include <forward_list>
-#include <testsuite_hooks.h>
-
-bool test __attribute__((unused)) = true;
 
 // This test verifies the following.
 //   Construction from initializer list
index 931534dbd63e664ca1404d952728e5302c7b678b..b20aced65cc7e36fcfd3a651779d74767197d0a0 100644 (file)
@@ -25,8 +25,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::forward_list<__gnu_test::NonCopyConstructible> fl(1000);
   VERIFY( std::distance(fl.begin(), fl.end()) == 1000 );
   for(auto it = fl.begin(); it != fl.end(); ++it)
index 74ee4fbc02eb53ea98d351a4a484f76d7b234da3..e28e84929e63aee6d849c55e371e10c2b9fb0429 100644 (file)
@@ -26,8 +26,6 @@
 #include <utility>
 #include <testsuite_hooks.h>
 
-bool test __attribute__((unused)) = true;
-
 int main()
 {
   std::forward_list<int> a, b;
index 2b35f39434bf0b3640e94a9c153a8918238e65dc..fde79205b32c5479106a799dc176a86de8a85758 100644 (file)
@@ -24,7 +24,6 @@
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
   std::forward_list<int> fl{1, 2, 3};
 
   auto before = fl.before_begin();
index 3ccd0c0179b6894128945abf3dd9abf0906e87d0..9f7098eae01e277dfc488044f0b9114fff0d3eb6 100644 (file)
@@ -23,8 +23,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef __gnu_test::uneq_allocator<int> alloc_type;
   typedef __gnu_debug::forward_list<int, alloc_type> test_type;
   test_type v1(alloc_type(1));
index ae90415d5d8b20bc335981e7e35aa57b6ea2a676..51a52ca992bba6961c4538ecb483c5aec7b923a8 100644 (file)
@@ -24,8 +24,6 @@
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::forward_list<int> fl1{1, 2, 3};
 
   auto it = fl1.begin();
index fd0fbb7e3dfad54bd11290bfdeed2ca302f2c51f..09b52df6dcc05a6f02d57df745535efcaa3b7c58 100644 (file)
@@ -22,8 +22,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef __gnu_test::propagating_allocator<int, false> alloc_type;
   typedef __gnu_debug::forward_list<int, alloc_type> test_type;
 
index 0073b11a5970c0786f47f0f2aa78d22ce008d55f..b36c7527f983d554b02863fac055dbf43dec9287 100644 (file)
@@ -24,7 +24,6 @@
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
   std::forward_list<int> fl1{1, 3, 5};
 
   auto flit = fl1.before_begin();
index 295f203bde59af23a0333048d100a7929916a064..1795a52cfb7b753db9212249b1ffea361dd4f3e5 100644 (file)
@@ -26,8 +26,6 @@ using __gnu_test::uneq_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef uneq_allocator<int> alloc_type;
   typedef __gnu_debug::forward_list<int, alloc_type> test_type;
 
index d5beb0e77d6148d0006cc7c7b17ef4ee68033c39..20430a9319cd295d5db44bf9931480f271b80aa9 100644 (file)
@@ -24,7 +24,6 @@
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
   std::forward_list<int> fl1{1, 2, 3};
   std::forward_list<int> fl2{4, 5, 6};
 
index 9446fce66caa039d897f09ed80b0e1b8480846e5..91698a6c2ebf37beb8277bbff292db77bb544794 100644 (file)
@@ -26,7 +26,6 @@
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
   std::forward_list<int> fl1{1, 3, 5};
   std::forward_list<int> fl2{2, 4, 6};
 
index 3e31bbc29ec165dc7653db6d6a32f9affb41ea23..c0a6c4c9f30ec68af8eda318af2a59c29c65ca6c 100644 (file)
@@ -24,8 +24,6 @@
 
 #include <array>
 
-bool test __attribute__((unused)) = true;
-
 class PathPoint
 {
 public:
index e2d1ce772f51b9650f5a8496076264db9c6d6893..a729b8d8ecbd4975d1fb6ab2e2085de947f50a83 100644 (file)
@@ -24,8 +24,6 @@
 
 #include <string>
 
-bool test __attribute__((unused)) = true;
-
 // This test verifies the following:
 //   insert_after single item
 //   before_begin iterator
index 498c735dc384b5ebbd1af44e110cfda8d8bebbe9..1998c54a4a49827e86570a0b7d6ebc05f0971034 100644 (file)
@@ -29,8 +29,6 @@
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::forward_list<int> fl({0, 1, 2, 3, 4, 5, 6, 7, 8, 9});
 
   std::forward_list<int>::const_iterator pos = fl.cbegin();
@@ -52,8 +50,6 @@ test01()
 void
 test02()
 {
-  bool test __attribute__((unused)) = true;
-
   std::forward_list<int> fl({0, 1, 2, 3, 4, 5, 6, 7, 8, 9});
 
   std::forward_list<int>::const_iterator pos = fl.cbegin();
index 3a0632448d97c83387ad52b24358d67621494116..0459173894ece12832fc80498b2a9a22e5e09efb 100644 (file)
@@ -22,8 +22,6 @@
 #include <forward_list>
 #include <testsuite_hooks.h>
 
-bool test __attribute__((unused)) = true;
-
 // This test verifies the following:
 //   swap
 void
index 13f502cfbab44f284d7b745a8cb65b0b6e0d1fc5..015583bbe6c72a4c0cd72bc0db6e23f8623feaae 100644 (file)
@@ -22,8 +22,6 @@
 #include <forward_list>
 #include <testsuite_hooks.h>
 
-bool test __attribute__((unused)) = true;
-
 // This test verifies the following:
 //   clear
 void
index 790d524fae93bc21805c789ffee37c3706b8d354..5628522a9c0fd1ef4f5517295a7c259f778357c2 100644 (file)
@@ -23,8 +23,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::forward_list<int> fl1(1, 5), fl2(1, 4), fl3(1, 3),
                          fl4(1, 2), fl5(1, 1), fl6(1, 0);
 
index 0d7d24c23e3ceacf7ce842d31beab704073133ba..6e08f87bb3f9c0f39a92fb8c2efd929a07eac55b 100644 (file)
@@ -22,8 +22,6 @@
 #include <forward_list>
 #include <testsuite_hooks.h>
 
-bool test __attribute__((unused)) = true;
-
 // This test verifies the following:
 //   
 void
index 80cbe1575ab9bf9174f0dc699bb42b75092a0f89..6d4459c690d833d8b4741684f9c5779a4753039b 100644 (file)
@@ -22,8 +22,6 @@
 #include <forward_list>
 #include <testsuite_hooks.h>
 
-bool test __attribute__((unused)) = true;
-
 // This test verifies the following:
 //   remove
 void
index b894e7a751cff2f4da8419c673cb2a0d27ad3c07..f5d62aa514bfda00b46176968006eb230c3c9696 100644 (file)
@@ -24,8 +24,6 @@
 
 #include <algorithm>
 
-bool test __attribute__((unused)) = true;
-
 // This test verifies the following:
 //   remove_if
 void
index 6874ba148f442cfb3e57df5bc412d690b03b6a3b..19a04419b96ddd7099586907bee42c34ea7a8552 100644 (file)
@@ -22,8 +22,6 @@
 #include <forward_list>
 #include <testsuite_hooks.h>
 
-bool test __attribute__((unused)) = true;
-
 // This test verifies the following:
 //   unique
 void
index 3d22607cfb882b6b63a4d5ea2ff977ef485ee9f9..1e456d43d995a2d8f63fd5af2ae95e2995fe1cdd 100644 (file)
@@ -22,8 +22,6 @@
 #include <forward_list>
 #include <testsuite_hooks.h>
 
-bool test __attribute__((unused)) = true;
-
 // This test verifies the following:
 //   
 void
index 02931cd4bcd9820f9a465e5a3518f387772b8664..0f75ba2377d4fa68cd8398c2effec035c361a4d6 100644 (file)
@@ -22,8 +22,6 @@
 #include <forward_list>
 #include <testsuite_hooks.h>
 
-bool test __attribute__((unused)) = true;
-
 //  Comparison functor.
 template<typename Num>
   class Comp
index 0bbd973e41f1477907ccb1f0addc414b7f6d4223..07b73825a42de183e6836b5956c7341c0caad18c 100644 (file)
@@ -24,8 +24,6 @@
 
 #include <algorithm>
 
-bool test __attribute__((unused)) = true;
-
 // This test verifies the following:
 //   
 void
index 35798156ee272331bc9de6af06c3558908031fd2..1fa70b5469311e77de44b42354ac28e9b94974f2 100644 (file)
@@ -27,8 +27,6 @@
 // Used to cause many Valgrind errors: LWG 526-type situation.
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::forward_list<int> fl1;
   
   fl1.push_front(1);
index 0058923ac7caa0ff9e092c717ec895be5249c066..8551ef5256ca418b908be001576e238ccf600801 100644 (file)
@@ -41,8 +41,6 @@ void testc(const std::list<short>& l)
 
 int main()
 {
-  bool test __attribute__((unused)) = true;
-
 #if _GLIBCXX_USE_DUAL_ABI
   std::list<short> l;
   testm(l);
index 13d518a1fe1a536333282e4a043db76825795a31..1e29786554051440c7e2f5b62e10b01ad6862e29 100644 (file)
@@ -27,7 +27,6 @@ using __gnu_test::propagating_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::list<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -39,7 +38,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::list<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -51,7 +49,6 @@ void test02()
 
 void test03()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::list<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
index 7038793fd247a4944c74d29a93ecab4dff330c15..3b4fb8f4374414d5e45841f31ab1b93073ed4c80 100644 (file)
@@ -27,7 +27,6 @@ using __gnu_test::propagating_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::list<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -41,7 +40,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::list<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
index 7556fd941ad517ccfdb4fefb12a5510a479c93f6..79fc01b986b81f550b1e35c8e187a1d3e02cf2f7 100644 (file)
@@ -32,7 +32,6 @@ template class std::list<T, SimpleAllocator<T>>;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef SimpleAllocator<T> alloc_type;
   typedef std::allocator_traits<alloc_type> traits_type;
   typedef std::list<T, alloc_type> test_type;
index 81bee4ec73636c9ec9a184fcc7b512c397d4e813..98c988f3015769e84506564abb324937d3fa7474 100644 (file)
@@ -27,7 +27,6 @@ using __gnu_test::uneq_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef uneq_allocator<T> alloc_type;
   typedef std::list<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -41,7 +40,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef uneq_allocator<T> alloc_type;
   typedef std::list<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
index e7ca4456cad3bc74630fcae02b5b6849d1135509..5cf0deb445ae1716c82f8a0c9be0c8bb0732a2bc 100644 (file)
@@ -27,7 +27,6 @@ using __gnu_test::propagating_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::list<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -41,7 +40,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::list<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
index fa0c9e8be360ca36b151a94792b30b313db28313..718731f9359c915bb6fe30e7bccf24dfe8b2a0b0 100644 (file)
@@ -44,7 +44,6 @@ operator!=(const propagating_allocator<T, false>&,
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::list<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -60,7 +59,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::list<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
index 33e6b0ce807980ea1fec633119da8b703fe22973..9d5756324e24874faa432a98456ed3b082f06aa7 100644 (file)
@@ -33,7 +33,6 @@ template<typename _Tp>
 void
 capacity01()
 {
-  bool test __attribute__((unused)) = true;
   typedef _Tp list_type;
   typedef typename list_type::iterator iterator_type;
 
index 54ce84cdf7f85a8023ca44e1eae2ddbe6fc0082f..8abbeb492358f92cf7c40cd4303cd8ce7081b7eb 100644 (file)
@@ -23,8 +23,6 @@
 // libstdc++/29134
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef std::list<int> list_type;
   list_type l;
 
index 9e9ca5792b3ae29c5fc0a43a42e08d0838b2bc46..063668675e4a19946443297543d679addfdab635 100644 (file)
@@ -25,8 +25,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::list<__gnu_test::NonCopyConstructible> l;
   VERIFY( std::distance(l.begin(), l.end()) == 0 );
 
index d700d924347b7a30cefe987a580cf45eabc4bf3c..95b86309cdb0b1df5fac2fd88366eb8a8d33b11c 100644 (file)
@@ -40,7 +40,6 @@ template<typename _Tp>
 void
 cons01()
 {
-  bool test __attribute__((unused)) = true;
   typedef _Tp list_type;
 
   list_type list0101;
index 196e6131c0778a076eac45821cccdf064e3fd15a..091385bc0d80564e6b3bbfd13a91f8ff397714ab 100644 (file)
@@ -38,7 +38,6 @@ template<typename _Tp>
 void
 cons021()
 {
-  bool test __attribute__((unused)) = true;
   const std::size_t LIST_SIZE = 5;
   const int INIT_VALUE = 7;
   std::size_t count;
index b5d810c6be801e500e79e07fb38ad18f4e610c41..40457dd42866a2e08ee55d6d0c12cdaa17d6bdc6 100644 (file)
@@ -32,7 +32,6 @@ template<typename _Tp>
 void
 cons03()
 {
-  bool test __attribute__((unused)) = true;
   typedef _Tp list_type;
   typedef typename list_type::iterator iterator;
 
index 2ff6d673d05e6c90dd55f98b63b0c9146a6c1f7d..db1cac5efebdc5c96724963e320d54a509cd2054 100644 (file)
@@ -32,7 +32,6 @@ template<typename _Tp>
 void
 cons04()
 {
-  bool test __attribute__((unused)) = true;
   const int A[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17};
   const std::size_t N = sizeof(A) / sizeof(int);
   std::size_t count;
index b1d507df24e8b303a031599e3d75607f183eef11..a88baa528e06bd37a999aecf5f65e9abfdce9138 100644 (file)
@@ -31,7 +31,6 @@ template<typename _Tp>
 void
 cons05()
 {
-  bool test __attribute__((unused)) = true;
   const int A[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17};
   const std::size_t N = sizeof(A) / sizeof(int);
   int count;
index 54141f728fcea18acca7ae8fb14602dc5c206441..fef2deadfcb918805c4eb7e1d4bd7e6dc6a3d381 100644 (file)
@@ -31,7 +31,6 @@ template<typename _Tp>
 void
 cons06()
 {
-  bool test __attribute__((unused)) = true;
   const int A[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17};
   const int B[] = {101, 102, 103, 104, 105};
   const std::size_t N = sizeof(A) / sizeof(int);
index e737c7eb8388feb15d1234f93ab05f43de9cc751..b51345312b136cbaeef6d32b82c34be22e12f843 100644 (file)
@@ -31,7 +31,6 @@ template<typename _Tp>
 void
 cons07()
 {
-  bool test __attribute__((unused)) = true;
   const std::size_t BIG_LIST_SIZE = 11;
   const int BIG_INIT_VALUE = 7;
   const std::size_t SMALL_LIST_SIZE = 5;
index 54964c49ace46487261ec218d546d5457be1d557..aefd0f617101d1260a1528d3594e64e3a0ff12bb 100644 (file)
@@ -34,7 +34,6 @@ cons08()
 {
   typedef _Tp list_type;
   typedef typename list_type::iterator iterator;
-  bool test __attribute__((unused)) = true;
   const std::size_t LIST_SIZE = 5;
   const int INIT_VALUE = 7;
   std::size_t count = 0;
index faa487158d33cce1d2d880e9b412ba8d51085686..a707e75f941fabe43b259dcd60ca6ee70b3f6e1b 100644 (file)
@@ -32,7 +32,6 @@ template<typename _Tp>
 void
 cons09()
 {
-  bool test __attribute__((unused)) = true;
   typedef _Tp list_type;
   typedef typename list_type::iterator iterator;
 
index cd1aee0d2768d16c8db9b11a94f7e01b80dcc8a1..32eff630c519865c04bf079403238c9bd170acd8 100644 (file)
@@ -25,8 +25,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::list<__gnu_test::NonCopyConstructible> l(1000);
   VERIFY( std::distance(l.begin(), l.end()) == 1000 );
   for(auto it = l.begin(); it != l.end(); ++it)
index 5d0a9970b09363364132269d3fcf04e4c45af453..19448e976d66d32817b6fbd5bf1b5958d9e3c6de 100644 (file)
@@ -26,8 +26,6 @@ template<typename _Tp>
   void
   test_moveable()
   {
-    bool test __attribute__((unused)) = true;
-
     typedef _Tp list_type;
     
     list_type a,b;
index 74c8b7ea33f87a3993f37e03fe98406c123201d1..932b1a36f43d72da4782075121a76df5ecbbb884 100644 (file)
@@ -26,8 +26,6 @@ void test01()
 {
   using std::advance;
 
-  bool test __attribute__((unused)) = true;
-
   typedef __gnu_debug::list<int> list_type;
   list_type v1;
   list_type v2;
index c00c9bd1169fadfe2afeae116f895ced7432c411..92dd30a1d852d7ece76753c9ec030b3709d9c829 100644 (file)
@@ -25,9 +25,7 @@
 void test02()
 {
   using std::advance;
-  
-  bool test __attribute__((unused)) = true;
+
   typedef __gnu_debug::list<int> list_type;
 
   list_type v(10, 17);
index 5c7031a867eae24f42e746d6d51892bb4465f457..161e6e23831eb0e8483a74d8ac992cfd075dd888 100644 (file)
@@ -25,8 +25,7 @@
 void test03()
 {
   using std::advance;
-  
-  bool test __attribute__((unused)) = true;
+
   typedef __gnu_debug::list<int> list_type;
 
   list_type v(20, 42);
index cda7326902ce558b2b484f7b198e10c2a94ce624..b86221dcfd645bde346e6ad32b3e9af4dbbf2cb8 100644 (file)
@@ -25,8 +25,6 @@
 void test04()
 {
   using std::advance;
-  
-  bool test __attribute__((unused)) = true;
 
   typedef __gnu_debug::list<int>  list_type;
 
index 21ac2ae0e24755633a2fb25ce29f2c6295bb9575..4f0b73a23af23959dacf1fd2dbce42a356812bf0 100644 (file)
@@ -26,7 +26,6 @@ template<typename _Tp>
 void
 modifiers1()
 {
-  bool test __attribute__((unused)) = true;
   typedef _Tp list_type;
   typedef typename list_type::iterator iterator;
   typedef typename list_type::value_type value_type;
index fd228a9ce4b8ebf4a375a796ec1b8526a8132148..85e9b524aab17ad955dc7b5dfe525b658e0a3d54 100644 (file)
@@ -24,7 +24,6 @@ template<typename _Tp>
 void
 modifiers2()
 {
-  bool test __attribute__((unused)) = true;
   typedef _Tp list_type;
   typedef typename list_type::value_type value_type;
   typedef typename list_type::iterator iterator;
index 4c1f2a0f6b52f38f59ad2067768845e229d5905a..a1d62a6dcd32a436e42c90c71aa970c41101f608 100644 (file)
@@ -44,7 +44,6 @@ template<typename _Tp>
 void
 modifiers3()
 {
-  bool test __attribute__((unused)) = true;
   typedef _Tp list_type;
   typedef typename list_type::iterator iterator;
   typedef typename list_type::value_type value_type;
index 780d63208f5f20292c940f5f0085ba20edb9da7e..809cd86aaf41966b069ae4f2ccfb66281d8445cd 100644 (file)
@@ -24,8 +24,6 @@
 template<typename _Tp>
 void insert1()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef _Tp list_type;
   typedef typename _Tp::value_type value_type;
   typedef typename _Tp::allocator_type allocator_type;
index 42edb401f039bff92a35acf1ac7283fc974a8967..1a85c1c18b74b73b5c6332e45afb94533f0f439b 100644 (file)
@@ -27,7 +27,6 @@ template<typename _Tp>
 void 
 swap11()
 {
-  bool test __attribute__((unused)) = true;
   typedef _Tp list_type;
 
   list_type A;
@@ -43,7 +42,6 @@ void
 swap12()
 {
   using namespace std;
-  bool test __attribute__((unused)) = true;
   typedef _Tp list_type;
 
   list_type A;
index 1d67929db0e0e4c51b8cfc1ffcbd18eaa65a6f3c..5845271ab1f6451850ad9ad142c91e748214700b 100644 (file)
@@ -27,7 +27,6 @@ template<typename _Tp>
 void
 swap2()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   typedef _Tp list_type;
index bb8c52998d0cc0adb693110c83a35c377b42aeff..a7841f9dba4a9a53d6f9c4e9e6097d32dd8c5c13 100644 (file)
@@ -27,7 +27,6 @@ template<typename _Tp>
 void
 swap3()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   typedef _Tp list_type;
index 624bc34d5a87b61ab6e171c3e39689b735c8de9e..d9d557abfe1acd341a1676f2152b058d852596fd 100644 (file)
@@ -24,7 +24,6 @@ template<typename _Tp>
 void
 operations01()
 {
-  bool test __attribute__((unused)) = true;
   typedef _Tp list_type;
   typedef typename list_type::iterator iterator;
 
index 2a9427b471be43e51131bfa93726ab95bc78bdf8..9d4dd6a91d86d8cab79902681bef19dcaa2f4e35 100644 (file)
@@ -24,7 +24,6 @@ template<typename _Tp>
 void
 operations02()
 {
-  bool test __attribute__((unused)) = true;
   typedef _Tp list_type;
   typedef typename list_type::iterator iterator;
 
index 2868d72ae3f920d221f52b9f32b830813815bb81..4bcced53f801d6ce589c1e0c4e6ee1ae5a771ff8 100644 (file)
@@ -24,7 +24,6 @@ template<typename _Tp>
 void
 operations03()
 {
-  bool test __attribute__((unused)) = true;
   typedef _Tp list_type;
   typedef typename list_type::iterator iterator;
 
index 6a1c3442e765a676cf6d6d472e8bfe8de684d2c7..208c8e2f1eac88858f9f0ca5fc3f67489ada6e4f 100644 (file)
@@ -49,7 +49,6 @@ template<typename _Tp>
 void
 operations04()
 {
-  bool test __attribute__((unused)) = true;
   typedef _Tp list_type;
 
   const int A[] = {1, 2, 3, 4, 5, 6};
index 75862cedc938c4dc747f8bbf2501ab7cd67019ca..9d7acd4e0aadd0578421390082d9108e888d516d 100644 (file)
@@ -23,8 +23,6 @@
 // PR libstdc++/42352
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::list<int> l{3, 2, 4, 1, 5, 9, 0, 8, 6, 7};
 
   l.sort();
@@ -38,8 +36,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
-
   std::list<int> l{3, 2, 4, 1, 5, 9, 0, 8, 6, 7};
 
   struct compare
index 1555e0e11397c70e392ca2ff93bc23af1b0daef2..ad174cbd5ece393dd3ac190d7f17b284708b0271 100644 (file)
@@ -33,7 +33,6 @@ using __gnu_test::propagating_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<std::pair<const T, U>, false> alloc_type;
   typedef std::map<T, U, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -45,7 +44,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<std::pair<const T, U>, true> alloc_type;
   typedef std::map<T, U, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -57,7 +55,6 @@ void test02()
 
 void test03()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<std::pair<const T, U>, true> alloc_type;
   typedef std::map<T, U, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
index dbcb1fad25d58c579b8d0f7d7a5656fab3a69daf..46fc93d848682b9a2541fa78a12ca0daba1b8382 100644 (file)
@@ -33,7 +33,6 @@ using __gnu_test::propagating_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<std::pair<const T, U>, false> alloc_type;
   typedef std::map<T, U, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -47,7 +46,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<std::pair<const T, U>, true> alloc_type;
   typedef std::map<T, U, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -61,8 +59,6 @@ void test02()
 
 void test03()
 {
-  bool test __attribute__((unused)) = true;
-
   using namespace __gnu_test;
 
   typedef tracker_allocator<std::pair<const int, int>> alloc_type;
index 3b50b30268697ac1f8ec2435cab09a4907619117..22a0b19034b10a43d0c85cab41942a7f9303321e 100644 (file)
@@ -24,8 +24,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   using namespace __gnu_test;
 
   typedef tracker_allocator<std::pair<const int, int>> alloc_type;
index 43045bfc193d2171bff87cefda0311a5046dc16d..fb866588440bf7714f96098350ff088f9c44f764 100644 (file)
@@ -36,7 +36,6 @@ template class std::map<T, U, Cmp, SimpleAllocator<std::pair<const T, U>>>;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef SimpleAllocator<std::pair<const T, U>> alloc_type;
   typedef std::allocator_traits<alloc_type> traits_type;
   typedef std::map<T, U, Cmp, alloc_type> test_type;
index 465ce4faf562628073619e822c3eaf8207de1137..296d7d4969bd1753124a79d3ed54aa99776fd75f 100644 (file)
@@ -33,7 +33,6 @@ using __gnu_test::uneq_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef uneq_allocator<std::pair<const T, U>> alloc_type;
   typedef std::map<T, U, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -49,7 +48,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef uneq_allocator<std::pair<const T, U>> alloc_type;
   typedef std::map<T, U, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
index 421a068edc0ad2b67031553c0e947af05546cf0e..da7bfda41ca34e85d084d01dc37257b4d110d6d5 100644 (file)
@@ -33,7 +33,6 @@ using __gnu_test::propagating_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<std::pair<const T, U>, false> alloc_type;
   typedef std::map<T, U, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -49,7 +48,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<std::pair<const T, U>, true> alloc_type;
   typedef std::map<T, U, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -67,8 +65,6 @@ void test02()
 
 void test03()
 {
-  bool test __attribute__((unused)) = true;
-
   using namespace __gnu_test;
 
   typedef propagating_allocator<std::pair<const int, int>, false,
index f83372d4d27fbc71c2a25c6e86a8da7a573e6063..ce136b8e9728bb1f92a28b5e33d125c65307b34a 100644 (file)
@@ -50,7 +50,6 @@ operator!=(const propagating_allocator<std::pair<const T, U>, false>&,
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<std::pair<const T, U>, false> alloc_type;
   typedef std::map<T, U, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -66,7 +65,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<std::pair<const T, U>, true> alloc_type;
   typedef std::map<T, U, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
index 52785c00f10cfbfe5bfd9c074f54ef8ce65581fd..0d7a82be91b2f9794e2c5605b159f171f570fa2f 100644 (file)
@@ -23,8 +23,6 @@
 // libstdc++/29134
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::map<int, int> m;
 
   VERIFY( (m.max_size() == std::allocator<std::_Rb_tree_node<
index 2987974dff04b7b93c0fe3eee1cd08de3f19abc2..7918fedcb0ccbc56d94e297ddb86320928815e28 100644 (file)
@@ -28,8 +28,6 @@
 
 int main()
 {
-  bool test __attribute__((unused)) = true;
-
   std::map<int, int> a,b;
   a[2]=0;
   b[1]=0;
index 51133c49464643143d435de1dc8a1e954c920bfd..9be8c0281f27ddabe714944d7283054ab09975da 100644 (file)
@@ -23,8 +23,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef __gnu_test::uneq_allocator<std::pair<const int, int> > alloc_type;
   typedef __gnu_debug::map<int, int, std::less<int>, alloc_type> test_type;
 
index 86ae0e898bf693e64ceeeb466e9aa583ccb35552..bb79b477a73367fec6bec3d9ef7d47f8c8dec38e 100644 (file)
@@ -22,8 +22,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef __gnu_test::propagating_allocator<std::pair<const int, int>,
                                            false> alloc_type;
   typedef __gnu_debug::map<int, int, std::less<int>, alloc_type> test_type;
index aca4d311241a597f50e0338bf53d93fd42f52e3e..f909af5f3e702f72cf3a71f526ed338c9685d429 100644 (file)
@@ -26,8 +26,6 @@ using __gnu_test::uneq_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef uneq_allocator<std::pair<const int, int> > alloc_type;
   typedef __gnu_debug::map<int, int, std::less<int>, alloc_type> test_type;
 
index 0811f3653191cbabba96a0faf632f4df71eec108..6a1ec5017876fe2e2ed3d08ba3fbaa5fc9748ae4 100644 (file)
@@ -23,8 +23,7 @@
 
 // libstdc++/23578
 void test01() 
-{ 
-  bool test __attribute__((unused)) = true;
+{
   typedef std::map<int, double> map_type;
 
   {
index e107379fc012233b571621c69e4a53468ff28511..5762cfe75f21d12f1474dcdb46a2402d119e007a 100644 (file)
@@ -26,7 +26,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::rvalstruct;
 
   typedef std::map<rvalstruct, rvalstruct> Map;
index 60680b0f4a89d75b27afcd6c714d278ca1531c3c..b2a944fc9fc627897bdaa28b95d91da6c68a342d 100644 (file)
@@ -23,8 +23,6 @@
 // c++/39901
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::map<std::pair<int, int>, int> the_map;
 
   the_map[{0, 1}] = 5;
index abe9cbc77aad373858915f38431c0758107af0ea..2cc93f3deb85a88dfaccb051a75d31cb9575c80b 100644 (file)
 
 using namespace std;
 
-int test01()
+void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   map<int,double> m({ { 1, 1.0 }, { 2, 2.0 }, { 42, 237.0 } });
   VERIFY(m.size() == 3);
   VERIFY(m[1] == 1.0);
@@ -44,7 +42,6 @@ int test01()
   VERIFY(m[6] == 66.0);
   VERIFY(m[7] == 77.0);
   VERIFY(m[8] == 88.0);
-  return test;
 }
 
 int main()
index ce46fc8c4e9bc97a6e217266d37f1ca848762886..f48bf89151c2e4c4fb17ba47d80cfe37dcaf7490 100644 (file)
@@ -25,7 +25,6 @@
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   map<int, int> m0;
@@ -48,7 +47,6 @@ test01()
 void
 test02()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   map<int, int> m0;
index 5738d9c69fdb3008fc03f41708537e53e0efb912..760090e369fed41290ebb05417b89ef91f4e0618 100644 (file)
@@ -37,8 +37,6 @@ private:
   std::vector<double> coords;
 };
 
-bool test __attribute__((unused)) = true;
-
 void test01()
 {
   typedef std::map<char, std::vector<double>> Map;
index dbbcc803ba7fa5dc26720158abd71e1da790f823..7622e482c601d4a09b46bfa3f582bdc557c46f00 100644 (file)
@@ -26,8 +26,6 @@ using test_type = std::map<int, int>;
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   test_type c{ {1, 10}, {2, 20}, {3, 30} };
   test_type::node_type node;
   test_type::insert_return_type ins;
@@ -101,8 +99,6 @@ test01()
 void
 test02()
 {
-  bool test __attribute__((unused)) = true;
-
   test_type c{ {1, 10}, {2, 20}, {3, 30} };
   test_type::node_type node;
   test_type::insert_return_type ins;
index 6db8a868078d30d60b77caa338bd67d2fb225947..2bc1b47ec4fa3cc2f04ab4539ad8ccfd532d2014 100644 (file)
@@ -28,7 +28,6 @@
 // http://gcc.gnu.org/ml/gcc-patches/2001-08/msg01375.html
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef std::map<int, int>   Map;
   Map             M;
   Map::iterator   hint;
index 0f6076a69060284d8fd014668c8b431ab61aa0f7..77f59dd60d4b953df9bd4da63da605985246171c 100644 (file)
@@ -22,7 +22,6 @@
 void test01()
 {
   using __gnu_debug::map;
-  bool test __attribute__((unused)) = true;
 
   map<int, float> m1, m2;
 
index 99e3daac8230944dbe916c72e74064344287b922..807e3f9c0ad1c0b71af77959f0877b339d8b1918 100644 (file)
@@ -26,7 +26,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::rvalstruct;
 
   typedef std::map<int, rvalstruct> Map;
@@ -46,7 +45,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::rvalstruct;
 
   typedef std::map<int, rvalstruct> Map;
index 1bb504859e622b222b6051252270e7f4750c4cf9..b2735884c510ce7ad85d96fa2a733378a7f93937 100644 (file)
@@ -26,7 +26,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::rvalstruct;
 
   typedef std::map<rvalstruct, rvalstruct> Map;
@@ -47,7 +46,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::rvalstruct;
 
   typedef std::map<rvalstruct, rvalstruct> Map;
index 6c5b9943f9a6d5105a3f21bbd1eff2303ef333d8..33a114410bf76ee2abb56ec65092f6637b42c008 100644 (file)
@@ -26,7 +26,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::rvalstruct;
 
   typedef std::map<int, rvalstruct> Map;
@@ -45,7 +44,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::rvalstruct;
 
   typedef std::map<int, rvalstruct> Map;
index 40b8cadeaeb54acbb16d3454c01ab3ec6ad64220..1c1d3ec9ed5acc88d4a03ec4e70aead62388f6fc 100644 (file)
@@ -26,7 +26,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::rvalstruct;
 
   typedef std::map<rvalstruct, rvalstruct> Map;
@@ -46,7 +45,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::rvalstruct;
 
   typedef std::map<rvalstruct, rvalstruct> Map;
index 9db533bb0da7f620a20958ae7b1cda2aca08b083..bcce8ea8475e8e473bb79c2593b3a13334fe5a38 100644 (file)
@@ -21,9 +21,6 @@
 #include <map>
 #include <testsuite_hooks.h>
 
-
-bool test __attribute__((unused)) = true;
-
 struct Val
 {
   bool moved_from_ctor = false;
index c978ed21e0725860aa445a734ed4cc1d4159a0d3..cc8da8fc5c76eacd49083b0cd3abcc7230e66c80 100644 (file)
@@ -26,8 +26,6 @@ using test_type = std::map<int, int>;
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   const test_type c0{ {1, 10}, {2, 20}, {3, 30} };
   test_type c1 = c0, c2 = c0;
 
@@ -48,8 +46,6 @@ test01()
 void
 test02()
 {
-  bool test __attribute__((unused)) = true;
-
   const test_type c0{ {1, 10}, {2, 20}, {3, 30} };
   test_type c1 = c0;
   std::map<int, int, std::less<>> c2( c0.begin(), c0.end() );
@@ -71,8 +67,6 @@ test02()
 void
 test03()
 {
-  bool test __attribute__((unused)) = true;
-
   const test_type c0{ {1, 10}, {2, 20}, {3, 30} };
   test_type c1 = c0;
   std::map<int, int, std::greater<>> c2( c0.begin(), c0.end() );
@@ -98,8 +92,6 @@ test03()
 void
 test04()
 {
-  bool test __attribute__((unused)) = true;
-
   const test_type c0{ {1, 10}, {2, 20}, {3, 30} };
   test_type c1 = c0;
   std::multimap<int, int, std::greater<>> c2( c0.begin(), c0.end() );
index 9bbf2dd21c08b23906b1b8f72a9dd084df0a7e93..52c49224c6d8ea9bfb6ea01acbfc763c3430ec1d 100644 (file)
@@ -36,7 +36,6 @@ namespace std
 // Should use map specialization for swap.
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   std::map<T, int> A;
   std::map<T, int> B;
   swap_calls = 0;
@@ -47,7 +46,6 @@ void test01()
 // Should use map specialization for swap.
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
   map<T, int> A;
   map<T, int> B;
index 2f55eefb4ad619ffaca66fae88c1e11369276318..51b46b53f62ab1461ae7ec2396c5725373a7e280 100644 (file)
@@ -27,7 +27,6 @@
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   typedef pair<const char, int> my_pair;
index 02e5ee810cd9c414cb4125bdfb85320b607bdbb4..c3616df61a2392e13f557c95324c863fb5281a4d 100644 (file)
@@ -27,7 +27,6 @@
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   typedef pair<const char, int> my_pair;
index 68665c5778d692db8dd982d080463f65e18aef8a..9ea877055c17b719c38b789168eec9fd2df98f6a 100644 (file)
@@ -21,9 +21,6 @@
 #include <map>
 #include <testsuite_hooks.h>
 
-
-bool test __attribute__((unused)) = true;
-
 struct Val
 {
   bool moved_from_ctor = false;
index bdb669960899e60b5adf8d9dfe9065749eeb18a3..e172fc7ce9f5144034a3e5c4e5e2041236142b0a 100644 (file)
@@ -24,7 +24,6 @@
 // A few tests for equal_range, in the occasion of libstdc++/29385.
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   map<int, int> m0;
index 359fd1b73e1da2a71310305e7fd472620db8530d..ef226b6cc37178037132def0564e47a3e723829f 100644 (file)
@@ -23,7 +23,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   typedef map<int, int>::value_type value_type;
index 6af182ee4063996a550dfdfb5b0042fd2f3d680f..d524f641092ff75d41946b7ef568ab1799224c5d 100644 (file)
@@ -26,7 +26,6 @@
 // libstdc++/86: map & set iterator comparisons are not type-safe
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   std::map<unsigned int, int> mapByIndex;
   std::map<std::string, unsigned> mapByName;
   
index 2236ceff9f47f05ab1f9f6324c569afa950bb75f..fdc5bad2aa0455457bf1dee641ebad6bdb363cfb 100644 (file)
@@ -49,8 +49,6 @@ struct DefaultConstructibleType
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   using __gnu_test::rvalstruct;
   using __gnu_test::counter_type;
 
index 658e4a0e97b4845e7ab5f19ff82d15b71f271790..4b30945e9d928500fedd1c5bae2fc3fa6bf36433 100644 (file)
@@ -33,7 +33,6 @@ using __gnu_test::propagating_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<std::pair<const T, U>, false> alloc_type;
   typedef std::multimap<T, U, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -45,7 +44,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<std::pair<const T, U>, true> alloc_type;
   typedef std::multimap<T, U, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -57,7 +55,6 @@ void test02()
 
 void test03()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<std::pair<const T, U>, true> alloc_type;
   typedef std::multimap<T, U, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
index e8022f8cf7a89a22c6f50c40842223c63bcb2568..6028c04ee7ffc9b346797e1390f85c0b82ea8ba5 100644 (file)
@@ -33,7 +33,6 @@ using __gnu_test::propagating_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<std::pair<const T, U>, false> alloc_type;
   typedef std::multimap<T, U, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -47,7 +46,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<std::pair<const T, U>, true> alloc_type;
   typedef std::multimap<T, U, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -61,8 +59,6 @@ void test02()
 
 void test03()
 {
-  bool test __attribute__((unused)) = true;
-
   using namespace __gnu_test;
 
   typedef tracker_allocator<std::pair<const int, int>> alloc_type;
index 0c21b7c245fc5e5fccfdee5e002211c1478f8c60..b9116b0d16abd711f2d9fa207c5ee108debb0942 100644 (file)
@@ -24,8 +24,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   using namespace __gnu_test;
 
   typedef tracker_allocator<std::pair<const int, int>> alloc_type;
index 528347d6a94b9b47986f42d8d575e98d6b2e12e7..7da6ac8cefde3b190d6c9a7d55e46686a0da67e3 100644 (file)
@@ -36,7 +36,6 @@ template class std::multimap<T, U, Cmp, SimpleAllocator<std::pair<const T, U>>>;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef SimpleAllocator<std::pair<const T, U>> alloc_type;
   typedef std::allocator_traits<alloc_type> traits_type;
   typedef std::multimap<T, U, Cmp, alloc_type> test_type;
index c1f3e7466163c853ced8337c32890ebd496eaa78..4f311ea2977af29cdae8e93747d58703a2578b8b 100644 (file)
@@ -33,7 +33,6 @@ using __gnu_test::uneq_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef uneq_allocator<std::pair<const T, U>> alloc_type;
   typedef std::multimap<T, U, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -49,7 +48,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef uneq_allocator<std::pair<const T, U>> alloc_type;
   typedef std::multimap<T, U, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
index b6b7586f5daa2be52c5b39dfb2463078af562e9f..e1e051d85912ce3ba0484dc104393beb9b5a3385 100644 (file)
@@ -33,7 +33,6 @@ using __gnu_test::propagating_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<std::pair<const T, U>, false> alloc_type;
   typedef std::multimap<T, U, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -47,7 +46,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<std::pair<const T, U>, true> alloc_type;
   typedef std::multimap<T, U, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -63,8 +61,6 @@ void test02()
 
 void test03()
 {
-  bool test __attribute__((unused)) = true;
-
   using namespace __gnu_test;
 
   typedef propagating_allocator<std::pair<const int, int>, false,
index 7d1891e5777ccba5531f1314d9de5e84b60fc968..4f786bd6828fbeb6b7bc42bcdaba96ccb73bd321 100644 (file)
@@ -50,7 +50,6 @@ operator!=(const propagating_allocator<std::pair<const T, U>, false>&,
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<std::pair<const T, U>, false> alloc_type;
   typedef std::multimap<T, U, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -66,7 +65,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<std::pair<const T, U>, true> alloc_type;
   typedef std::multimap<T, U, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
index 22002e16a254c82a48fa9e1e8892122f268a8bcd..6e9953b10a0fa06ba43db64f2458e45a306b3d32 100644 (file)
@@ -23,8 +23,6 @@
 // libstdc++/29134
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::multimap<int, int> mm;
 
   VERIFY( (mm.max_size() == std::allocator<std::_Rb_tree_node<
index 07c059292e362d245adb9a7208218e600e795b8c..411faa8905ae4f8c81ae26a4e083a6163f376ad8 100644 (file)
@@ -28,8 +28,6 @@
 
 int main()
 {
-  bool test __attribute__((unused)) = true;
-
   std::multimap<int, int> a,b;
   a.insert(std::make_pair(2,0));
   b.insert(std::make_pair(1,0));
index a17e61d761de2066c44987c24167c45c7183d67a..5a3212411d6bb67da48696a62515deeb4a772e8b 100644 (file)
@@ -23,8 +23,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef __gnu_test::uneq_allocator<std::pair<const int, int> > alloc_type;
   typedef __gnu_debug::multimap<int, int, std::less<int>, alloc_type> test_type;
 
index da8bd363442d4bf0bb56066cf953d4d0f77ce38a..ec117c5d68f57c08188acece56723c7abf38b088 100644 (file)
@@ -22,8 +22,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef __gnu_test::propagating_allocator<std::pair<const int, int>,
                                            false> alloc_type;
   typedef __gnu_debug::multimap<int, int, std::less<int>, alloc_type> test_type;
index 525b80e233e1ba49d6fcd2a6837ef64901634607..d376b214939e1b691fbcdbfdb23fb5e529a06551 100644 (file)
@@ -26,8 +26,6 @@ using __gnu_test::uneq_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef uneq_allocator<std::pair<const int, int> > alloc_type;
   typedef __gnu_debug::multimap<int, int, std::less<int>, alloc_type> test_type;
 
index 341da84b745049ad959129768c34d70f2925d866..c2ce1c307acacaeb85b191f812021c96b4eb1140 100644 (file)
 
 using namespace std;
 
-int test01()
+void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef multimap<int,double> Container;
   typedef Container::iterator iterator;
   typedef pair<iterator,iterator> itpair;
@@ -52,8 +50,6 @@ int test01()
   VERIFY(m.count(5) == 2);
   VERIFY(m.count(42) == 1);
   VERIFY(m.count(7) == 2);
-
-  return test;
 }
 
 int main()
index 10d1404a7cac862af83ffc96cd686029301e8c46..f015227bf675662dc4ed81bdfe85b2983bd8c0de 100644 (file)
@@ -31,7 +31,6 @@ using namespace std;
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   multimap<int, int> mm0;
@@ -58,7 +57,6 @@ test01()
 void
 test02()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   multimap<int, int> mm0;
index 6f2d0a8a02912c7f3e5ad5ba203d1d2c2db0d418..5378bb69f27949e70138ccf5e834424fbe3b7e20 100644 (file)
@@ -36,8 +36,6 @@ private:
   std::vector<double> coords;
 };
 
-bool test __attribute__((unused)) = true;
-
 void test01()
 {
   typedef std::multimap<char, std::vector<double>> MMap;
index cad131ceadf24b35fd7f04da0175bae95c7e32b7..ec11aee493d4231995f9f189ad9ce5cb0da5240e 100644 (file)
@@ -26,8 +26,6 @@ using test_type = std::multimap<int, int>;
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   test_type c{ {1, 10}, { 1, 11 }, {2, 20}, { 2, 21}, {3, 30}, { 3, 31 } };
   test_type::node_type node;
   test_type::iterator pos;
@@ -97,8 +95,6 @@ test01()
 void
 test02()
 {
-  bool test __attribute__((unused)) = true;
-
   test_type c{ {1, 10}, { 1, 11 }, {2, 20}, { 2, 21}, {3, 30}, { 3, 31 } };
   test_type::node_type node;
   test_type::iterator pos;
index 9c9c25d0e4cef2dd9e9c800ce66ac3fa30b5c869..7d605e28735ba2030e1fef454a221e89f1a8fc75 100644 (file)
@@ -26,7 +26,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::rvalstruct;
 
   typedef std::multimap<int, rvalstruct> Map;
@@ -45,7 +44,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::rvalstruct;
 
   typedef std::multimap<int, rvalstruct> Map;
index 632207d294292c90a284e71b49824a20547aa232..ed88fef35d8e104ac987d08637bb10bf987c1dcf 100644 (file)
@@ -26,7 +26,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::rvalstruct;
 
   typedef std::multimap<rvalstruct, rvalstruct> Map;
@@ -45,7 +44,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::rvalstruct;
 
   typedef std::multimap<rvalstruct, rvalstruct> Map;
index e0f68abce6a997c2a6b7c549b87c37f2827abf92..6e2168578269321a25202574ad24c64633a2614c 100644 (file)
@@ -25,7 +25,6 @@
 // libstdc++/22102
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef std::multimap<int, int>   Mmap;
   typedef Mmap::value_type          value_type;
   typedef Mmap::iterator            iterator;
index dda817c001d3d8db2fce03315410c53b5bd92a30..f18575e644d8189ebd8d8c5e6bd989c3dbd33d8d 100644 (file)
@@ -26,7 +26,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::rvalstruct;
 
   typedef std::multimap<int, rvalstruct> Map;
@@ -45,7 +44,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::rvalstruct;
 
   typedef std::multimap<int, rvalstruct> Map;
index 690d88efab5ed37dfdd40419f273a4fecf89f146..470e9d2a1d003af0bab5023e8e9d29edc65a65da 100644 (file)
@@ -26,7 +26,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::rvalstruct;
 
   typedef std::multimap<rvalstruct, rvalstruct> Map;
@@ -46,7 +45,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::rvalstruct;
 
   typedef std::multimap<rvalstruct, rvalstruct> Map;
index 70541ff7fbe12031f84f49e69d49744e02925d9a..2cc8b2a5610f59af83b4d7e7e4d412be0530b125 100644 (file)
@@ -26,8 +26,6 @@ using test_type = std::multimap<int, int>;
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   const test_type c0{ {1, 10}, {1, 11}, {2, 20}, {2, 21}, {3, 30}, {3, 31} };
   test_type c1 = c0, c2 = c0;
 
@@ -46,8 +44,6 @@ test01()
 void
 test02()
 {
-  bool test __attribute__((unused)) = true;
-
   const test_type c0{ {1, 10}, {1, 11}, {2, 20}, {2, 21}, {3, 30}, {3, 31} };
   test_type c1 = c0;
   std::multimap<int, int, std::less<>> c2( c0.begin(), c0.end() );
@@ -68,8 +64,6 @@ test02()
 void
 test03()
 {
-  bool test __attribute__((unused)) = true;
-
   const test_type c0{ {1, 10}, {1, 11}, {2, 20}, {2, 21}, {3, 30}, {3, 31} };
   test_type c1 = c0;
   std::multimap<int, int, std::greater<>> c2( c0.begin(), c0.end() );
@@ -90,8 +84,6 @@ test03()
 void
 test04()
 {
-  bool test __attribute__((unused)) = true;
-
   const test_type c0{ {1, 10}, {1, 11}, {2, 20}, {2, 21}, {3, 30}, {3, 31} };
   test_type c1 = c0;
   std::map<int, int, std::greater<>> c2( c0.begin(), c0.end() );
index 7ba71b62ebd7a80d4789fbf0a933b8357caa16d9..b664e1e8e9d47376715582adbf2bc7c91b2c3a94 100644 (file)
@@ -36,7 +36,6 @@ namespace std
 // Should use multimap specialization for swap.
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   std::multimap<T, int> A;
   std::multimap<T, int> B;
   swap_calls = 0;
@@ -47,7 +46,6 @@ void test01()
 // Should use multimap specialization for swap.
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
   multimap<T, int> A;
   multimap<T, int> B;
index d9058cd0bea9da056afec0bee5b3447a520c907b..6d96f5e7a8eefbb85c9feb5fc53c22bad81920d9 100644 (file)
@@ -27,7 +27,6 @@
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   typedef pair<const char, int> my_pair;
index 0b6d3a854dc9413dd5ebc14093a32a9d0e6704a7..eafc5c8e1f9bf80336564caeb3225bfb0f9728dc 100644 (file)
@@ -27,7 +27,6 @@
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   typedef pair<const char, int> my_pair;
index 281a7fd6d687a409ba47efa219f89216fbd9d437..51a5ae8e1239b41edfb8bcda36ecdaab7e547346 100644 (file)
@@ -24,7 +24,6 @@
 // A few tests for equal_range, in the occasion of libstdc++/29385.
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   multimap<int, int> mm0;
index 0238e1e5593589a05c0bee1e6439076631c0eff0..d5ee57d18b5fa91eb0a5fc761816efb796eeb86a 100644 (file)
@@ -23,7 +23,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   typedef multimap<int, int>::value_type value_type;
index dfa2d571d84546c9bdf2f8c3a6a429a5e7e3eb0c..32cece0ebaca9869e1b91fba4682b61f06a6a154 100644 (file)
@@ -31,7 +31,6 @@ using __gnu_test::propagating_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::multiset<T, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -43,7 +42,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::multiset<T, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -55,7 +53,6 @@ void test02()
 
 void test03()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::multiset<T, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
index 1f9817194550c08fd16dbc4d2d2811b46a224eb7..3e63a0dbee5dc48c201619262cb41b7d9d99c8aa 100644 (file)
@@ -31,7 +31,6 @@ using __gnu_test::propagating_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::multiset<T, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -45,7 +44,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::multiset<T, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -59,8 +57,6 @@ void test02()
 
 void test03()
 {
-  bool test __attribute__((unused)) = true;
-
   using namespace __gnu_test;
 
   typedef tracker_allocator<int> alloc_type;
index f0b0b20a45dfcc73f20f2d7f0ab63bc17ffa7daf..0e7c5647c0ecea176c885eebf4061569c198bdf8 100644 (file)
@@ -24,8 +24,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   using namespace __gnu_test;
 
   typedef tracker_allocator<int> alloc_type;
index cb284e7640fe7605fd0a065faeec86d1500b6acd..7f25f5fcbce6fe85df47b32577439cdfb2ad8fd7 100644 (file)
@@ -34,7 +34,6 @@ template class std::multiset<T, Cmp, SimpleAllocator<T>>;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef SimpleAllocator<T> alloc_type;
   typedef std::allocator_traits<alloc_type> traits_type;
   typedef std::multiset<T, Cmp, alloc_type> test_type;
index c37dcb89a0c9d713932071115a6f813f28299dd0..37b922b8b73f21e5b44d8b402a38cf9345199fcb 100644 (file)
@@ -31,7 +31,6 @@ using __gnu_test::uneq_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef uneq_allocator<T> alloc_type;
   typedef std::multiset<T, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -47,7 +46,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef uneq_allocator<T> alloc_type;
   typedef std::multiset<T, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
index a03e911f2c8c23814edbd7aa9879a771a8fa807f..be68af0344ab60f7ccabd8a4cb2fa1ffcc24422b 100644 (file)
@@ -31,7 +31,6 @@ using __gnu_test::propagating_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::multiset<T, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -45,7 +44,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::multiset<T, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -61,8 +59,6 @@ void test02()
 
 void test03()
 {
-  bool test __attribute__((unused)) = true;
-
   using namespace __gnu_test;
 
   typedef propagating_allocator<int, false, tracker_allocator<int>> alloc_type;
index ebcde05570958d146c0f55ec9a04d474f434d894..3172a0c3a5de9bb0c9fd2cda0d5a276738cdf553 100644 (file)
@@ -48,7 +48,6 @@ operator!=(const propagating_allocator<T, false>&,
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::multiset<T, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -64,7 +63,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::multiset<T, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
index 594c3348ae2ce93c832f779086592b1a27baaa1b..2a8ab0b9602fa629b9f07436035bf17146fc0be3 100644 (file)
@@ -23,8 +23,6 @@
 // libstdc++/29134
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::multiset<int> ms;
 
   VERIFY( ms.max_size()
index b23d02b73cf5a8cf2a27e5de0923d153554908f2..848c0e44a6f0fd236251cfc0ae43e5dba4de36a8 100644 (file)
@@ -28,8 +28,6 @@
 
 int main()
 {
-  bool test __attribute__((unused)) = true;
-
   std::multiset<int> a,b;
   a.insert(2);
   b.insert(1);
index 859c21690722b1963485fe140465ce8836ce7a0b..3adbb703b1cf0e26ff39ac3f81abc7fee85f9e8f 100644 (file)
@@ -23,8 +23,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef __gnu_test::uneq_allocator<int> alloc_type;
   typedef __gnu_debug::multiset<int, std::less<int>, alloc_type> test_type;
 
index ef630f7d5614e067b0555217abb82563a3ea66b8..6f9c18570d23bbb76f7710e583ce9d7138d227b6 100644 (file)
@@ -27,7 +27,6 @@ using std::advance;
 // Erase
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   multiset<int> v;
   for (int i = 0; i < 20; ++i)
     v.insert(i);
index 154c1e23814e548862219c03be56a84dd992886e..5e7d3574d39a45ec52b609cdc9500499899d7b2f 100644 (file)
@@ -22,8 +22,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef __gnu_test::propagating_allocator<int, false> alloc_type;
   typedef __gnu_debug::multiset<int, std::less<int>, alloc_type> test_type;
 
index 7ea591dd7fbd1e513db72f76e8395ca630c451a1..19d646c3ec8bc520ce301133c830c2c060867665 100644 (file)
@@ -26,8 +26,6 @@ using __gnu_test::uneq_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef uneq_allocator<int> alloc_type;
   typedef __gnu_debug::multiset<int, std::less<int>, alloc_type> test_type;
 
index 0442d239abcc2ebc933ab4e724b31e46328f19ad..2f7d08be12f0f89bb29e950b68ebc94e6e8dc857 100644 (file)
 
 using namespace std;
 
-int test01()
+void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   multiset<int> m({ 1, 5, 5, 37 });
   VERIFY(m.size() == 4);
   VERIFY(m.count(1) == 1);
@@ -48,8 +46,6 @@ int test01()
   VERIFY(m.count(102) == 1);
   VERIFY(m.count(42) == 2);
   VERIFY(m.count(1) == 0);
-
-  return test;
 }
 
 int main()
index 3cd567663bbbde9b8eb878eadad33d493f3a1db3..d7dbdfa2def20a153380177f32935c425394de45 100644 (file)
@@ -31,7 +31,6 @@ using namespace std;
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   multiset<int> ms0;
@@ -57,7 +56,6 @@ test01()
 void
 test02()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   multiset<int> ms0;
index 17ae625cbcdd98e3950c59596d205e901ee1405d..7a84bf904448733f9d036648e1261f0633920fea 100644 (file)
@@ -41,8 +41,6 @@ struct PathPointLess
   { return __lhs.getType() < __rhs.getType(); }
 };
 
-bool test __attribute__((unused)) = true;
-
 void test01()
 {
   typedef std::multiset<PathPoint, PathPointLess> Mset;
index 56c2a286f45a09d5eeaf91cded67df35b3e5cf29..5f15feb02bc0f5229d5f8e6473cb52b5a4772b87 100644 (file)
@@ -26,8 +26,6 @@ using test_type = std::multiset<int>;
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   test_type c{ 1, 1, 2, 2, 3, 3 };
   test_type::node_type node;
   test_type::iterator pos;
@@ -87,8 +85,6 @@ test01()
 void
 test02()
 {
-  bool test __attribute__((unused)) = true;
-
   test_type c{ 1, 1, 2, 2, 3, 3 };
   test_type::node_type node;
   test_type::iterator pos;
index 400a2bc7369d6f87460cf2d3e8c8d749339a2b60..d2992f328820a36a9ccb007721d3b14141f07b6d 100644 (file)
@@ -38,7 +38,6 @@ operator<(std::pair<int, int> const& lhs, std::pair<int, int> const& rhs)
 
 int main () 
 {
-  bool test __attribute__((unused)) = true;
   typedef std::multiset<std::pair<int, int> >::iterator iterator;
   std::pair<int, int> p(69, 0);
   std::multiset<std::pair<int, int> > s;
index 08c08e4c4105979d355b46a0b8a4dcf7504cea4c..531eb0724b60d5c90e2ddab23208f063708fc708 100644 (file)
@@ -25,7 +25,6 @@
 // and libstdc++/19433.
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   multiset<int> ms0, ms1;
index 37b1c1f30ced7b9c373c2795423a673372848361..c96ae9f15c0de8ca841572f8abbcf1bc6a70226e 100644 (file)
@@ -25,7 +25,6 @@
 // libstdc++/22102
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef std::multiset<int>        Mset;
   typedef Mset::value_type          value_type;
   typedef Mset::iterator            iterator;
index d0bc2133ca8e618bc9db674a02d5aa4b27a9c3fa..0aca187535411f1e13e0678150350564280bfeaf 100644 (file)
@@ -26,7 +26,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::rvalstruct;
 
   typedef std::multiset<rvalstruct> Set;
@@ -42,7 +41,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::rvalstruct;
 
   typedef std::multiset<rvalstruct> Set;
index d6f79562909e768240e1e5f4c754b85486efc063..0c3ad78101241f3fb2c38d11d92b950bab68d895 100644 (file)
@@ -26,7 +26,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::rvalstruct;
 
   typedef std::multiset<rvalstruct> Set;
@@ -42,7 +41,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::rvalstruct;
 
   typedef std::multiset<rvalstruct> Set;
index ba422b889c4a055a60cabed8e71aa14dd6c98ce1..f4a1f44f430d41fb404db1caf163eb50929ad050 100644 (file)
@@ -26,8 +26,6 @@ using test_type = std::multiset<int>;
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   test_type c0{ 1, 1, 2, 2, 3, 3 };
   test_type c1 = c0, c2 = c0;
 
@@ -46,8 +44,6 @@ test01()
 void
 test02()
 {
-  bool test __attribute__((unused)) = true;
-
   test_type c0{ 1, 1, 2, 2, 3, 3 };
   test_type c1 = c0;
   std::multiset<int, std::less<>> c2( c0.begin(), c0.end() );
@@ -88,8 +84,6 @@ test03()
 void
 test04()
 {
-  bool test __attribute__((unused)) = true;
-
   const test_type c0{ 1, 1, 2, 2, 3, 3 };
   test_type c1 = c0;
   std::set<int, std::greater<>> c2( c0.begin(), c0.end() );
index 97d9ad12a502a01a3069318d4fcfdd17a47ebf65..b8c8feeb0f6ba12c2ee42f13bf3d6fec9e5e765e 100644 (file)
@@ -36,7 +36,6 @@ namespace std
 // Should use multiset specialization for swap.
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   std::multiset<T> A;
   std::multiset<T> B;
   swap_calls = 0;
@@ -47,7 +46,6 @@ void test01()
 // Should use multiset specialization for swap.
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
   multiset<T> A;
   multiset<T> B;
index 9d2400fa9eadc0dd593a5d743ed7cf098fd299a9..52b29a2ccf06c36968e5eed66d126d397996df0f 100644 (file)
@@ -27,7 +27,6 @@
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   typedef __gnu_test::uneq_allocator<char> my_alloc;
index 765669407251cec5d532df9d9464d40ca73f3adb..f81cfb4e9403e3c46ede25db6376ad55bd414e0c 100644 (file)
@@ -27,7 +27,6 @@
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   typedef __gnu_test::uneq_allocator<char> my_alloc;
index 6eeaa307ee00d8585c78821340e9a0e2b8c31285..646ea0a61755b6bdcdb27641a35bb453b1b1322b 100644 (file)
@@ -24,7 +24,6 @@
 // A few tests for equal_range, in the occasion of libstdc++/29385.
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   multiset<int> ms0;
index 024715a37ac4f319f78a62c1ae7f32d07559757a..869ccb7147c8fbce26e9fe3a01b5cbad798f1011 100644 (file)
@@ -23,7 +23,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   multiset<int> ms0;
index a60e5e21c35015e909688024937e01435caec018..1912d2af40e8b9deedc6b0a2950cdd4f59956459 100644 (file)
@@ -28,8 +28,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::priority_queue<int> a,b;
   a.push(1);
   b = std::move(a);
index 59d943929f0ff142ba364ce1916c2e1d6c68a756..929b88134f5e6685809eba0a1cbec148ab4872e0 100644 (file)
@@ -28,8 +28,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::queue<int> a,b;
   a.push(1);
   b = std::move(a);
index 51ffad855e168f09fed1d1be9eeaa5449838f5e6..b3db5c21b46f40a83d2d21c872b9d7c66f71257e 100644 (file)
@@ -31,7 +31,6 @@ using __gnu_test::propagating_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::set<T, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -43,7 +42,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::set<T, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -55,7 +53,6 @@ void test02()
 
 void test03()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::set<T, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
index 01d3050b26b14fbc2a9c47700cf0b019ae02eded..d522bf4a2684502c5d97282186c4b1225afff5d2 100644 (file)
@@ -31,7 +31,6 @@ using __gnu_test::propagating_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::set<T, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -45,7 +44,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::set<T, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -59,8 +57,6 @@ void test02()
 
 void test03()
 {
-  bool test __attribute__((unused)) = true;
-
   using namespace __gnu_test;
 
   typedef tracker_allocator<int> alloc_type;
index ed44a99c51c3ca8663c00a5cc3f65f4152558ea8..d5e093b521bc80b132b3c0edcd2c0c56ca7e610a 100644 (file)
@@ -24,8 +24,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   using namespace __gnu_test;
 
   typedef tracker_allocator<int> alloc_type;
index a6ababae8ecfcf199d213fc61ac68291467b02fa..f28cf4e93e1d21967ead3e6fb206a4e0c4fc1a65 100644 (file)
@@ -34,7 +34,6 @@ template class std::set<T, Cmp, SimpleAllocator<T>>;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef SimpleAllocator<T> alloc_type;
   typedef std::allocator_traits<alloc_type> traits_type;
   typedef std::set<T, Cmp, alloc_type> test_type;
index fecbfcb05508d553d49b796628cb6467c436d713..2545e55ff9bf20d695843fd3d053841f2d39a129 100644 (file)
@@ -33,7 +33,6 @@ using __gnu_test::uneq_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef uneq_allocator<T> alloc_type;
   typedef std::set<T, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -49,7 +48,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef uneq_allocator<T> alloc_type;
   typedef std::set<T, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
index 09c5f26f0923a834b258488876f392547c2a05dd..60c0835b026d80e3c7e666fd57e0b8039772a790 100644 (file)
@@ -33,7 +33,6 @@ using __gnu_test::propagating_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::set<T, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -47,7 +46,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::set<T, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -63,8 +61,6 @@ void test02()
 
 void test03()
 {
-  bool test __attribute__((unused)) = true;
-
   using namespace __gnu_test;
 
   typedef propagating_allocator<int, false, tracker_allocator<int>> alloc_type;
@@ -93,8 +89,6 @@ void test03()
 
 void test04()
 {
-  bool test __attribute__((unused)) = true;
-
   using namespace __gnu_test;
 
   typedef tracker_allocator<int> alloc_type;
index 471f726dd24593241bcaf22e6331e666d949a06a..e9fc18f964a322a19707dc874a680468ba1fc56e 100644 (file)
@@ -48,7 +48,6 @@ operator!=(const propagating_allocator<T, false>&,
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::set<T, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -64,7 +63,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::set<T, Cmp, alloc_type> test_type;
   test_type v1(alloc_type(1));
index f5e65be7c82d4b71871cc702f044fb4510f0232b..0c5c5ae114d8ded3e304ddd8308f5077e9827823 100644 (file)
@@ -23,8 +23,6 @@
 // libstdc++/29134
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::set<int> s;
 
   VERIFY( s.max_size() ==
index 4f421a2a4143a3147457d8f0cc3e28d035a95189..29cf909bd45a8e23f0a27e20ac554ddf84bb45c5 100644 (file)
@@ -28,8 +28,6 @@
 
 int main()
 {
-  bool test __attribute__((unused)) = true;
-
   std::set<int> a,b;
   a.insert(2);
   b.insert(1);
index 0d42b9ddf442308a892c9525fb68588b71c67f30..095219e912a3cf5e59fe350bafd3c29d2e7d6ba0 100644 (file)
@@ -23,8 +23,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef __gnu_test::uneq_allocator<int> alloc_type;
   typedef __gnu_debug::set<int, std::less<int>, alloc_type> test_type;
 
index 1f95c94d808af70a832e8c03d4314464edd07573..2787bdf3bc729a1d22553b7c9f6c8a83150fa79b 100644 (file)
@@ -27,8 +27,6 @@ using std::advance;
 // Erase
 void test02()
 {
-  bool test __attribute__((unused)) = true;
-
   set<int> v;
   for (int i = 0; i < 20; ++i)
     v.insert(i);
index 33ce5e726a09f258e4820674a894950b7462764a..1bf9768d2c2aa6f88018bbaff1c20468a10c4f1f 100644 (file)
@@ -22,8 +22,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef __gnu_test::propagating_allocator<int, false> alloc_type;
   typedef __gnu_debug::set<int, std::less<int>, alloc_type> test_type;
 
index 6d6501ce6605ce3622a4ff1d7d43559169408bbd..3388c178cc930896a2a5661a698509935419dda3 100644 (file)
@@ -26,8 +26,6 @@ using __gnu_test::uneq_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef uneq_allocator<int> alloc_type;
   typedef __gnu_debug::set<int, std::less<int>, alloc_type> test_type;
 
index be2df5d3b89b0e8766d80fd871bf63ec114c0a94..f2f1cade5bdb349410b047ade49486105c7abfdc 100644 (file)
 
 using namespace std;
 
-int test01()
+void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   set<int> m({ 1, 5, 37 });
   VERIFY(m.size() == 3);
   VERIFY(m.count(1) == 1);
@@ -48,8 +46,6 @@ int test01()
   VERIFY(m.count(102) == 1);
   VERIFY(m.count(42) == 1);
   VERIFY(m.count(1) == 0);
-
-  return test;
 }
 
 int main()
index 0208e877c6fb78bf004d44d052cb63f179637999..e5ab1309f7db20560d37f3788f026462e24caed3 100644 (file)
@@ -21,7 +21,6 @@
 // libstdc++/17948
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   typedef set<int>::size_type size_type;
index 1fd6433f1a6f8f15ea0ada05236c610ff6fabf32..438dddd526ef317100b7993e3a84d6b787fc0a08 100644 (file)
@@ -25,7 +25,6 @@
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   set<int> s0;
@@ -47,7 +46,6 @@ test01()
 void
 test02()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   set<int> s0;
index 6f829bdec808c5cdb1dd3c0211732c1c9b3271c6..739e1c22e51c7d7b6742d524577092d1282276a0 100644 (file)
@@ -41,8 +41,6 @@ struct PathPointLess
   { return __lhs.getType() < __rhs.getType(); }
 };
 
-bool test __attribute__((unused)) = true;
-
 void test01()
 {
   typedef std::set<PathPoint, PathPointLess> Set;
index db5872a499a9ab9b18a1221cb782e9dea63028d8..d70ad27ce31dfb8d046f0d0846148ba19ef6dffb 100644 (file)
@@ -26,8 +26,6 @@ using test_type = std::set<int>;
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   test_type c{ 1, 2, 3 };
   test_type::node_type node;
   test_type::insert_return_type ins;
@@ -94,8 +92,6 @@ test01()
 void
 test02()
 {
-  bool test __attribute__((unused)) = true;
-
   test_type c{ 1, 2, 3 };
   test_type::node_type node;
   test_type::insert_return_type ins;
index d9264a8e9f7f835ff37e6bc3cdf3816dfada3ea8..28141053c2147c0b2d3bdfb48ab75e2b82ab2bfd 100644 (file)
@@ -25,7 +25,6 @@
 // and libstdc++/19433.
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   set<int> s0, s1;
index 18274239e24177972ce34d1a6b2f8c02b72239b8..001ce7be4bb361f2a79d386ffa60a29f320774d7 100644 (file)
@@ -26,7 +26,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::rvalstruct;
 
   typedef std::set<rvalstruct> Set;
@@ -43,7 +42,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::rvalstruct;
 
   typedef std::set<rvalstruct> Set;
index b3c1adb0e0e4923e28605b9509aeea309e83300b..bcb0113bb90413a95e383b92caeeb884529a907d 100644 (file)
@@ -26,7 +26,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::rvalstruct;
 
   typedef std::set<rvalstruct> Set;
@@ -42,7 +41,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::rvalstruct;
 
   typedef std::set<rvalstruct> Set;
index b1e06937b647e1f2f2e7b764f3bc33bc191c9db6..85c1186e87d68a9d811ff8de33f777622b075521 100644 (file)
@@ -26,8 +26,6 @@ using test_type = std::set<int>;
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   const test_type c0{ 1, 2, 3 };
   test_type c1 = c0, c2 = c0;
   c1.merge(c2);
@@ -47,8 +45,6 @@ test01()
 void
 test02()
 {
-  bool test __attribute__((unused)) = true;
-
   const test_type c0{ 1, 2, 3 };
   test_type c1 = c0;
   std::set<int, std::less<>> c2( c0.begin(), c0.end() );
@@ -69,8 +65,6 @@ test02()
 void
 test03()
 {
-  bool test __attribute__((unused)) = true;
-
   const test_type c0{ 1, 2, 3 };
   test_type c1 = c0;
   std::set<int, std::greater<>> c2( c0.begin(), c0.end() );
@@ -95,8 +89,6 @@ test03()
 void
 test04()
 {
-  bool test __attribute__((unused)) = true;
-
   const test_type c0{ 1, 2, 3 };
   test_type c1 = c0;
   std::multiset<int, std::greater<>> c2( c0.begin(), c0.end() );
index e3b5ccab6e61471ebfa243bb0dcaaf7620560942..4f14e3e4e5fcc1e1924a498522c520ea1e0fab85 100644 (file)
@@ -36,7 +36,6 @@ namespace std
 // Should use set specialization for swap.
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   std::set<T> A;
   std::set<T> B;
   swap_calls = 0;
@@ -47,7 +46,6 @@ void test01()
 // Should use set specialization for swap.
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
   set<T> A;
   set<T> B;
index 8c97a778fab50e141655414040745d3ac4c04025..3958378993989f9cfeaeac1ddf764c03b1cf924a 100644 (file)
@@ -27,7 +27,6 @@
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   typedef __gnu_test::uneq_allocator<char> my_alloc;
index e6fc1e17488f5c1b89d11045ae401f462e651026..5dfa2b675a29e3e08454beec024d6c3fe9c7ce5b 100644 (file)
@@ -27,7 +27,6 @@
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   typedef __gnu_test::uneq_allocator<char> my_alloc;
index 24099046bb7d5bf7f76e2595d6f3d14cea6b2a94..ad393f2fee5dfad876e85e76e83385828efcddb9 100644 (file)
@@ -24,7 +24,6 @@
 // A few tests for equal_range, in the occasion of libstdc++/29385.
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   set<int> s0;
index e9d6da87a45d472ac4c1c491d51b083c4a63e59f..5ff15ab3fe94214b08067a110296f080f41bbf1c 100644 (file)
@@ -23,7 +23,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   set<int> s0;
index 7c9c9526d3c642fc085fa65199f688ea7235888e..9d9c80803432167e48ebcb8e6ff32f17fdbe5652 100644 (file)
@@ -26,8 +26,6 @@
 // libstdc++/86: map & set iterator comparisons are not type-safe
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::set<unsigned int> setByIndex;
   std::set<std::string> setByName;
   
index 9c86f277b5cfa3a114e81fa8618790151d456079..cdad2760b8e7f06757fb5963a5ecdd0b09b002ee 100644 (file)
@@ -39,7 +39,6 @@ using __gnu_test::propagating_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::unordered_map<T, T, hash, equal_to, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -52,7 +51,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::unordered_map<T, T, hash, equal_to, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -65,7 +63,6 @@ void test02()
 
 void test03()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::unordered_map<T, T, hash, equal_to, alloc_type> test_type;
   test_type v1(alloc_type(1));
index 1946c016f2efa0784689df39cb55c97cf25073a2..434c09719d2925a49720d6db9384146dde5c1550 100644 (file)
@@ -39,7 +39,6 @@ using __gnu_test::propagating_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::unordered_map<T, T, hash, equal_to, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -55,7 +54,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::unordered_map<T, T, hash, equal_to, alloc_type> test_type;
   test_type v1(alloc_type(1));
index 6f48873ceb1051ebf97be86fb62b85fa872d5ade..1efc6ebee8779de157a69965c2b75b39de89e292 100644 (file)
@@ -46,7 +46,6 @@ template class std::unordered_map<T, T, hash, equal_to, SimpleAllocator<T>>;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef SimpleAllocator<T> alloc_type;
   typedef std::allocator_traits<alloc_type> traits_type;
   typedef std::unordered_map<T, T, hash, equal_to, alloc_type> test_type;
index 215c08f4d719fbf3c5b9cc270bc1b42e89bf919a..ca8fee13bd91f33451ee9bf74301455cf7bd67a6 100644 (file)
@@ -39,7 +39,6 @@ using __gnu_test::uneq_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef uneq_allocator<T> alloc_type;
   typedef std::unordered_map<T, T, hash, equal_to, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -54,7 +53,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef uneq_allocator<T> alloc_type;
   typedef std::unordered_map<T, T, hash, equal_to, alloc_type> test_type;
   test_type v1(alloc_type(1));
index 000c969970bd9cbd89b31cde2e0b224b0fc86e29..a399dd1a616cad5686bc4c6c0496c3276ed22c0c 100644 (file)
@@ -27,7 +27,6 @@ using __gnu_test::counter_type;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<counter_type, false> alloc_type;
   typedef __gnu_test::counter_type_hasher hash;
   typedef std::unordered_map<counter_type, counter_type, hash,
@@ -55,7 +54,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<counter_type, true> alloc_type;
   typedef __gnu_test::counter_type_hasher hash;
   typedef std::unordered_map<counter_type, counter_type, hash,
index 07beef43439cee5f91b24a232a302c9772f0d355..cfbe09ce5d404ef34e61de0da65cc40a5475d573 100644 (file)
@@ -56,7 +56,6 @@ operator!=(const propagating_allocator<std::pair<const T, T>, false>&,
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<std::pair<const T, T>, false> alloc_type;
   typedef std::unordered_map<T, T, hash, equal_to, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -74,7 +73,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<std::pair<const T, T>, true> alloc_type;
   typedef std::unordered_map<T, T, hash, equal_to, alloc_type> test_type;
   test_type v1(alloc_type(1));
index 2b2d6fdcefd5f630b4c668abefd77c616d31a9ab..d42f1c02f0e7742415942ba8cc50a633b880c789 100644 (file)
@@ -28,8 +28,6 @@
 
 int main()
 {
-  bool test __attribute__((unused)) = true;
-
   std::unordered_map<int, int> a,b;
   a[2]=0;
   b[1]=0;
index b72f49a84482969e795bcd752b791e2f13c5ddd8..eae800c98dadbfe26e495eeca6c12c5f820653b9 100644 (file)
@@ -23,8 +23,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef __gnu_test::uneq_allocator<std::pair<const int, int>> alloc_type;
   typedef __gnu_debug::unordered_map<int, int, std::hash<int>,
                                     std::equal_to<int>,
index 60a821e83467ad293efcb0c45eaca4c6c8b304eb..321777b19c86a0666351063d7601ef08a5c9520f 100644 (file)
@@ -22,8 +22,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef __gnu_test::propagating_allocator<std::pair<const int, int>,
                                            false> alloc_type;
   typedef __gnu_debug::unordered_map<int, int,
index 1b00460328b0e66d867351ed874fab34aee7894c..0cca6ea6e3322753df909ee04c7e661e2382005b 100644 (file)
@@ -26,8 +26,6 @@ using __gnu_test::uneq_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef uneq_allocator<std::pair<const int, int> > alloc_type;
   typedef __gnu_debug::unordered_map<
     int, int, std::hash<int>, std::equal_to<int>, alloc_type> test_type;
index bc132f12abe2630b86a3ff1daeedb893920b1e93..9307e28728baeb077dacd4a1cdc749334e44f5ba 100644 (file)
@@ -24,8 +24,7 @@
 
 // DR 761. unordered_map needs an at() member function.
 void test01() 
-{ 
-  bool test __attribute__((unused)) = true;
+{
   typedef std::unordered_map<int, double> map_type;
 
   {
index 6d7b4200964fd50f24b6e2bc80fe5393e695e839..84e12f0b1a69617fd5292bf1fbb463a566e3b0c9 100644 (file)
@@ -37,8 +37,6 @@ namespace
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-  
   typedef std::unordered_map<std::string, int> Map;
   typedef Map::iterator       iterator;
   typedef Map::const_iterator const_iterator;
index cdb99adc5bebfba8af623236eb7e79189bd66f9d..fab22acf3f73aa7898f7e0509004cc51bf90ae90 100644 (file)
@@ -26,8 +26,6 @@
 // libstdc++/24061
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-  
   typedef std::unordered_map<std::string, int> Map;
   typedef Map::iterator       iterator;
   typedef Map::const_iterator const_iterator;
index 580b27704b144258d4706e37c6172bace0eb28dd..f665fdd207f6d8e20941f2ad6785d05976df10fc 100644 (file)
@@ -22,8 +22,6 @@
 #include <unordered_map>
 #include <testsuite_hooks.h>
 
-bool test __attribute__((unused)) = true;
-
 struct A
 {
   int x;
index 6209e19ca697538afffe1a48617380c14866d73a..344112abee30d13dad690cddc3ff23a0dd1e64f4 100644 (file)
@@ -24,9 +24,7 @@
 // DR 1189. Awkward interface for changing the number of buckets
 // in an unordered associative container
 void test01() 
-{ 
-  bool test __attribute__((unused)) = true;
-  
+{
   std::unordered_map<int, double> m1;
   m1.reserve(10);
   VERIFY( m1.bucket_count() >= 10 );
index 791057509460f9ad85563be2f4257a3197f7a711..04342a982cbe9c6e22361a977ee40d32ff139073 100644 (file)
 
 using namespace std;
 
-int test01()
+void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   unordered_map<int,double> m({ { 1, 1.0 }, { 2, 2.0 }, { 42, 237.0 } });
   VERIFY(m.size() == 3);
   VERIFY(m[1] == 1.0);
@@ -44,7 +42,6 @@ int test01()
   VERIFY(m[6] == 66.0);
   VERIFY(m[7] == 77.0);
   VERIFY(m[8] == 88.0);
-  return test;
 }
 
 int main()
index 80f85821c90edc9820217380115bc469ac3af883..1e0495203e71c3d1b9e2ef16650a3ebd48089322 100644 (file)
@@ -26,8 +26,6 @@
 // libstdc++/24061
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-  
   typedef std::unordered_map<std::string, int> Map;
   typedef Map::iterator       iterator;
   typedef Map::const_iterator const_iterator;
diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/insert/57619.C b/libstdc++-v3/testsuite/23_containers/unordered_map/insert/57619.C
deleted file mode 100644 (file)
index 8fff3d4..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-// { dg-do run { target c++11 } }
-//
-// Copyright (C) 2013-2016 Free Software Foundation, Inc.
-//
-// This file is part of the GNU ISO C++ Library.  This library is free
-// software; you can redistribute it and/or modify it under the
-// terms of the GNU General Public License as published by the
-// Free Software Foundation; either version 3, or (at your option)
-// any later version.
-//
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License along
-// with this library; see the file COPYING3.  If not see
-// <http://www.gnu.org/licenses/>.
-
-#include <unordered_map>
-#include <string>
-#include <testsuite_hooks.h>
-
-void test01()
-{
-  bool test __attribute__((unused)) = true;
-
-  {
-    std::unordered_map<std::string, std::string> mymap;
-    std::pair<std::string, std::string> mypair{std::string("key"),
-                                              std::string("value")};
-    mymap.insert(mypair);
-
-    VERIFY( mypair.first.length() && mypair.second.length() );
-  }
-
-  {
-    std::unordered_map<std::string, std::string> mymap;
-    std::pair<std::string, std::string> mypair{std::string("key"),
-                                              std::string("value")};
-    mymap.insert(mymap.begin(), mypair);
-
-    VERIFY( mypair.first.length() && mypair.second.length() );
-  }
-}
-
-int main()
-{
-  test01();
-  return 0;
-}
diff --git a/libstdc++-v3/testsuite/23_containers/unordered_map/insert/57619.cc b/libstdc++-v3/testsuite/23_containers/unordered_map/insert/57619.cc
new file mode 100644 (file)
index 0000000..921b8f4
--- /dev/null
@@ -0,0 +1,49 @@
+// { dg-do run { target c++11 } }
+//
+// Copyright (C) 2013-2016 Free Software Foundation, Inc.
+//
+// This file is part of the GNU ISO C++ Library.  This library is free
+// software; you can redistribute it and/or modify it under the
+// terms of the GNU General Public License as published by the
+// Free Software Foundation; either version 3, or (at your option)
+// any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License along
+// with this library; see the file COPYING3.  If not see
+// <http://www.gnu.org/licenses/>.
+
+#include <unordered_map>
+#include <string>
+#include <testsuite_hooks.h>
+
+void test01()
+{
+  {
+    std::unordered_map<std::string, std::string> mymap;
+    std::pair<std::string, std::string> mypair{std::string("key"),
+                                              std::string("value")};
+    mymap.insert(mypair);
+
+    VERIFY( mypair.first.length() && mypair.second.length() );
+  }
+
+  {
+    std::unordered_map<std::string, std::string> mymap;
+    std::pair<std::string, std::string> mypair{std::string("key"),
+                                              std::string("value")};
+    mymap.insert(mymap.begin(), mypair);
+
+    VERIFY( mypair.first.length() && mypair.second.length() );
+  }
+}
+
+int main()
+{
+  test01();
+  return 0;
+}
index c7c6d045a43bccdf93aa85d6b2ac753ac4ba7f56..86cdee5e7e1760125b1cce6521f1a1ba1e1edee1 100644 (file)
@@ -26,8 +26,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef std::unordered_map<std::string, int> Map;
 
   Map m;
index d681a88075c6e8ea3f7a99bfb0336b9a6ba6be42..f7b1c45aead4a2190dd9b6decc12890a4fbf1c28 100644 (file)
@@ -28,7 +28,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::rvalstruct;
 
   typedef std::unordered_map<rvalstruct, rvalstruct> Map;
index d4e099eab963e972b1d94dda47ce3d830e027a7d..a89400ffe3d241d58674678655487e40da2c38ea 100644 (file)
@@ -27,8 +27,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef std::unordered_map<std::string, int> Map;
   typedef std::pair<const std::string, int> Pair;
 
@@ -57,8 +55,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef std::unordered_map<std::string, int> Map;
   typedef std::pair<const std::string, int> Pair;
 
index 08d4cd377fe9a32fa1b2d79e967f822a8dcfed28..eee277cb4eec4647b5e161c0cdd75dae32087b0a 100644 (file)
@@ -26,8 +26,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef std::unordered_map<std::string, int> Map;
   typedef std::pair<const std::string, int> Pair;
 
@@ -45,8 +43,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef std::unordered_map<std::string, int> Map;
   typedef std::pair<const std::string, int> Pair;
 
index dd0f612ce42b0633fcc76c13b343657322f98274..809f7bf24d3e853d3ffa89f91f854c969e685cfd 100644 (file)
@@ -28,7 +28,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::rvalstruct;
 
   typedef std::unordered_map<int, rvalstruct> Map;
@@ -48,7 +47,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::rvalstruct;
 
   typedef std::unordered_map<int, rvalstruct> Map;
index 4d8c36c766184289ebb15f900dd7ef623a026bb2..952a7f2a13944ec9d83b1540e4376ce37a014532 100644 (file)
@@ -28,7 +28,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::rvalstruct;
 
   typedef std::unordered_map<rvalstruct, rvalstruct> Map;
@@ -49,7 +48,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::rvalstruct;
 
   typedef std::unordered_map<rvalstruct, rvalstruct> Map;
index db44dc04286e8113499b558de1af4ef402792746..bf2e733ff8d24fd0d3a10feb4c4656f029f68c99 100644 (file)
@@ -20,8 +20,6 @@
 #include <unordered_map>
 #include <testsuite_hooks.h>
 
-bool test __attribute__((unused)) = true;
-
 void test01()
 {
   std::unordered_map<int, int> um(20);
index 3c22236109ded65e916bb81d3c878f915d284f30..0027171d990ecdc9aec367eac2ce028c33e643a1 100644 (file)
@@ -39,8 +39,6 @@ private:
   std::vector<double> coords;
 };
 
-bool test __attribute__((unused)) = true;
-
 void test01()
 {
   typedef std::unordered_map<char, std::vector<double>> Map;
index 9d9c43ef9054a0d7b6c99fcc1169a2e5c0cda0e8..24609aef56fa09c2e8c465962b0ce7595b2d7d1c 100644 (file)
@@ -25,8 +25,6 @@ using test_type = std::unordered_map<int, int>;
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   test_type c{ {1, 10}, {2, 20}, {3, 30} };
   test_type::node_type node;
   test_type::insert_return_type ins;
@@ -100,8 +98,6 @@ test01()
 void
 test02()
 {
-  bool test __attribute__((unused)) = true;
-
   test_type c{ {1, 10}, {2, 20}, {3, 30} };
   test_type::node_type node;
   test_type::insert_return_type ins;
index 2ff624dd18d76cc1808251ececd35ccdf1aec8bc..4a64398f78c19d6846e72f65266259ccc8af768b 100644 (file)
@@ -21,9 +21,6 @@
 #include <unordered_map>
 #include <testsuite_hooks.h>
 
-
-bool test __attribute__((unused)) = true;
-
 struct Val
 {
   bool moved_from_ctor = false;
index f0035d2eb84f5896a301b2ac1697a42aef6d5e31..e4350459f62ce160792fe8c0c338336075eef517 100644 (file)
@@ -42,8 +42,6 @@ bool equal_elements(const C1& c1, const C2& c2)
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   const test_type c0{ {1, 10}, {2, 20}, {3, 30} };
   test_type c1 = c0, c2 = c0;
 
@@ -64,8 +62,6 @@ test01()
 void
 test02()
 {
-  bool test __attribute__((unused)) = true;
-
   const test_type c0{ {1, 10}, {2, 20}, {3, 30} };
   test_type c1 = c0;
   std::unordered_map<int, int, hash, equal> c2( c0.begin(), c0.end() );
@@ -91,8 +87,6 @@ test02()
 void
 test03()
 {
-  bool test __attribute__((unused)) = true;
-
   const test_type c0{ {1, 10}, {2, 20}, {3, 30} };
   test_type c1 = c0;
   std::unordered_multimap<int, int, hash, equal> c2( c0.begin(), c0.end() );
index 71d918637229b8f3fd1c311aa78d794ca46aa2fa..1d1ced9424ff28a5a894074895bc25777cb0b371 100644 (file)
@@ -20,8 +20,6 @@
 #include <unordered_map>
 #include <testsuite_hooks.h>
 
-bool test __attribute__((unused)) = true;
-
 void test01()
 {
   const int N = 1000;
index 4fadb247ecb277189d1e01430e062970e1ce3460..5887968a8bbdcb8f94d685b71d92227e3343ad00 100644 (file)
@@ -22,9 +22,6 @@
 #include <functional>
 #include <testsuite_hooks.h>
 
-
-bool test __attribute__((unused)) = true;
-
 struct Val
 {
   bool moved_from_ctor = false;
index b9805c0397bf8f3a6229fb86ce550d0fc220dff5..6c1f47f48a25bde739224bbcfdd5dc3669a25295 100644 (file)
@@ -25,7 +25,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   typedef unordered_map<int, int>::value_type value_type;
index 877e88db09210577b6378a6eee665c79da3c5c27..ecda9f2e922e53be3193ce3b16ee46c5be47f512 100644 (file)
@@ -24,8 +24,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef std::pair<const int, int> Pair;
   std::unordered_map<int, int> um1, um2;
   VERIFY( um1 == um2 );
index fd95b043ce8adc8b44c0918f662595db07ce19b9..0126834d43ac4fe84ac33c7257addc211779741f 100644 (file)
@@ -52,8 +52,6 @@ struct DefaultConstructibleType
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   using __gnu_test::rvalstruct;
   using __gnu_test::counter_type;
 
index a17be439a96c8dbb42b37ecc9ba94aa1aaee2579..3253b64d0b0190931c3663b1dd1a9c64abb9ddd4 100644 (file)
@@ -39,7 +39,6 @@ using __gnu_test::propagating_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::unordered_multimap<T, T, hash, equal_to, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -52,7 +51,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::unordered_multimap<T, T, hash, equal_to, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -65,7 +63,6 @@ void test02()
 
 void test03()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::unordered_multimap<T, T, hash, equal_to, alloc_type> test_type;
   test_type v1(alloc_type(1));
index ea675083503237e654cb939042fbcbae49e0ba26..0f8e2675d5aa158ac8d8eafd0918dfeb99246901 100644 (file)
@@ -39,7 +39,6 @@ using __gnu_test::propagating_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::unordered_multimap<T, T, hash, equal_to, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -55,7 +54,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::unordered_multimap<T, T, hash, equal_to, alloc_type> test_type;
   test_type v1(alloc_type(1));
index ad3f752e71636081e842d09ebdac8a1ca2f45997..8a4151c27442c903e9ed66e8f99400b93a983dbc 100644 (file)
@@ -47,7 +47,6 @@ template class std::unordered_multimap<T, T, hash, equal_to,
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef SimpleAllocator<T> alloc_type;
   typedef std::allocator_traits<alloc_type> traits_type;
   typedef std::unordered_multimap<T, T, hash, equal_to, alloc_type> test_type;
index 7edec34111eb6e8a73c48ac45f3de6e123cbdcd0..ef5ed553fdbd7112dfa099eae7a17ffb71af55e8 100644 (file)
@@ -39,7 +39,6 @@ using __gnu_test::uneq_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef uneq_allocator<T> alloc_type;
   typedef std::unordered_multimap<T, T, hash, equal_to, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -54,7 +53,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef uneq_allocator<T> alloc_type;
   typedef std::unordered_multimap<T, T, hash, equal_to, alloc_type> test_type;
   test_type v1(alloc_type(1));
index 4ea55b49f4af1078fbcfbc7f35d4977d791fb312..6b3ca9672442020b5ba6646fbc0f78a967de743f 100644 (file)
@@ -27,7 +27,6 @@ using __gnu_test::counter_type;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<counter_type, false> alloc_type;
   typedef __gnu_test::counter_type_hasher hash;
   typedef std::unordered_multimap<counter_type, counter_type, hash,
@@ -55,7 +54,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<counter_type, true> alloc_type;
   typedef __gnu_test::counter_type_hasher hash;
   typedef std::unordered_multimap<counter_type, counter_type, hash,
index 1d58624d74d10bdc4b53a9e48073f44c8bacceb3..c21b64f9bfb6188068746e255bf532fe2660dc83 100644 (file)
@@ -56,7 +56,6 @@ operator!=(const propagating_allocator<std::pair<const T, T>, false>&,
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<std::pair<const T, T>, false> alloc_type;
   typedef std::unordered_multimap<T, T, hash, equal_to, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -74,7 +73,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<std::pair<const T, T>, true> alloc_type;
   typedef std::unordered_multimap<T, T, hash, equal_to, alloc_type> test_type;
   test_type v1(alloc_type(1));
index 3c5c6a82183fcd56d508ae7cea139acca9a18641..9c0e854de7bf2272d1cea149e29227c5f08ae108 100644 (file)
@@ -28,8 +28,6 @@
 
 int main()
 {
-  bool test __attribute__((unused)) = true;
-
   std::unordered_multimap<int, int> a,b;
   a.insert(std::make_pair(2,0));
   b.insert(std::make_pair(1,0));
index 0c3c50b1d79e13de2152b134e9335640e54044df..237d1be4a73b8e6198215bdf11dc3616153fbfeb 100644 (file)
@@ -23,8 +23,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef __gnu_test::uneq_allocator<std::pair<const int, int>> alloc_type;
   typedef __gnu_debug::unordered_multimap<int, int,
                                          std::hash<int>, std::equal_to<int>,
index 7320a90df927068938f0190d6f5b3ccd9e578495..ab75592ebe813c8c3aa3338491e5f3d0c4e1677b 100644 (file)
@@ -22,8 +22,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef __gnu_test::propagating_allocator<std::pair<const int, int>,
                                            false> alloc_type;
   typedef __gnu_debug::unordered_multimap<int, int, std::hash<int>,
index 5db854c1d3c19f0019d8c54e8a5b5c28f77c032e..3bb3cf0f24aab59fe9c66993124da1b36f301a63 100644 (file)
@@ -26,8 +26,6 @@ using __gnu_test::uneq_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef uneq_allocator<std::pair<const int, int> > alloc_type;
   typedef __gnu_debug::unordered_multimap<
     int, int, std::hash<int>, std::equal_to<int>, alloc_type> test_type;
index 521fbee9f461d91bd745ad371b48ab839c04d6b7..6b9a2981c7477c3b5eaf791deede94f6f476a0fe 100644 (file)
@@ -37,8 +37,6 @@ namespace
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-  
   typedef std::unordered_multimap<std::string, int> Mmap;
   typedef Mmap::iterator       iterator;
   typedef Mmap::const_iterator const_iterator;
index f93138b2b366405338dfc7e400930292b0ff2e04..4ab5884382e50690b60d2bed9381baafa7992e87 100644 (file)
@@ -35,8 +35,6 @@ namespace
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-  
   typedef std::unordered_multimap<std::string, int> Mmap;
   typedef Mmap::iterator       iterator;
   typedef Mmap::const_iterator const_iterator;
index c7f05c6225a5609241a4b1ee1186918e7e47d3d9..80a5e7bb863e1a4b1198b4e33256c66147c1b759 100644 (file)
@@ -26,8 +26,6 @@
 // libstdc++/24061
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-  
   typedef std::unordered_multimap<std::string, int> Mmap;
   typedef Mmap::iterator       iterator;
   typedef Mmap::const_iterator const_iterator;
index 4a4fdb0beac028d448da50ef37a133c717b54f20..8469fd3977e9d2e01422607ce866fd4157d5e8f1 100644 (file)
@@ -25,8 +25,6 @@
 // libstdc++/51845
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef std::unordered_multimap<int, int> Mmap;
   typedef Mmap::iterator       iterator;
   typedef Mmap::const_iterator const_iterator;
index a3492f808ff75824071abd6da3e43e6a641c3e0d..694db25324d1483fa141be8510ab2fc6fe779ad0 100644 (file)
@@ -22,8 +22,6 @@
 #include <unordered_map>
 #include <testsuite_hooks.h>
 
-bool test __attribute__((unused)) = true;
-
 struct A
 {
   int x;
index 0eb61ffa624acd8a7ed7aade7bf2fb5994890493..3db89b7c19d1c54eeb33a18603072143e4e601c3 100644 (file)
@@ -24,9 +24,7 @@
 // DR 1189. Awkward interface for changing the number of buckets
 // in an unordered associative container
 void test01() 
-{ 
-  bool test __attribute__((unused)) = true;
-  
+{
   std::unordered_multimap<int, double> mm1;
   mm1.reserve(10);
   VERIFY( mm1.bucket_count() >= 10 );
index c1d0fee54b3e6e88586b07cc6212a865868c0b88..51f3db9dc4f6f242743b12bd1d07e3a83790be50 100644 (file)
 
 using namespace std;
 
-int test01()
+void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef unordered_multimap<int,double> Container;
   typedef Container::const_iterator iterator;
   typedef pair<iterator,iterator> itpair;
@@ -55,8 +53,6 @@ int test01()
   VERIFY(m.count(5) == 2);
   VERIFY(m.count(42) == 1);
   VERIFY(m.count(7) == 2);
-
-  return test;
 }
 
 int main()
index 4134c1920be3c05c3c7e656c9c6bfabc4ecdb197..902352cb81984924f2bef19846a0c648657148ca 100644 (file)
@@ -26,8 +26,6 @@
 // libstdc++/24061
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-  
   typedef std::unordered_multimap<std::string, int> Mmap;
   typedef Mmap::iterator       iterator;
   typedef Mmap::const_iterator const_iterator;
index ff4b8e0afc4ce517e7b6841618864f9976ec0315..b040cc0aa48044c966e56656280cc01ae0752719 100644 (file)
@@ -61,8 +61,6 @@ bool num_equal::_S_called_on_moved_instance = false;
 // libstdc++/51866
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-  
   std::unordered_multimap<num, int, num_hash, num_equal> mmap;
   mmap.insert(std::make_pair(num(1), 1));
   mmap.insert(std::make_pair(num(2), 2));
index 3eefb22116563d17bbee01230e46e58a9e09dfe7..d91f7eeba1550df4b291312ff4248b8fa561eda6 100644 (file)
@@ -25,8 +25,7 @@
 void test01()
 {
   using namespace std;
-  bool test __attribute__((unused)) = true;
-  
   unordered_multimap<int, int> mmap;
   vector<int> values;
 
index b305ff23257658df13b3580d829af8f5b7e904a2..9fc6fd3b1c3ed9e85eec8083f9742e2919c4cc9f 100644 (file)
@@ -35,7 +35,6 @@ namespace
 void test01()
 {
   using namespace std;
-  bool test __attribute__((unused)) = true;
 
   std::unordered_multimap<int, int> umm;
   umm.insert(make_pair(10, 1));
diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/57619.C b/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/57619.C
deleted file mode 100644 (file)
index 85e8610..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-// { dg-do run { target c++11 } }
-//
-// Copyright (C) 2013-2016 Free Software Foundation, Inc.
-//
-// This file is part of the GNU ISO C++ Library.  This library is free
-// software; you can redistribute it and/or modify it under the
-// terms of the GNU General Public License as published by the
-// Free Software Foundation; either version 3, or (at your option)
-// any later version.
-//
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License along
-// with this library; see the file COPYING3.  If not see
-// <http://www.gnu.org/licenses/>.
-
-#include <unordered_map>
-#include <string>
-#include <testsuite_hooks.h>
-
-void test01()
-{
-  bool test __attribute__((unused)) = true;
-
-  {
-    std::unordered_multimap<std::string, std::string> mymmap;
-    std::pair<std::string, std::string> mypair{std::string("key"),
-                                              std::string("value")};
-    mymmap.insert(mypair);
-
-    VERIFY( mypair.first.length() && mypair.second.length() );
-  }
-
-  {
-    std::unordered_multimap<std::string, std::string> mymmap;
-    std::pair<std::string, std::string> mypair{std::string("key"),
-                                              std::string("value")};
-    mymmap.insert(mymmap.begin(), mypair);
-
-    VERIFY( mypair.first.length() && mypair.second.length() );
-  }
-}
-
-int main()
-{
-  test01();
-  return 0;
-}
diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/57619.cc b/libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/57619.cc
new file mode 100644 (file)
index 0000000..002f64e
--- /dev/null
@@ -0,0 +1,49 @@
+// { dg-do run { target c++11 } }
+//
+// Copyright (C) 2013-2016 Free Software Foundation, Inc.
+//
+// This file is part of the GNU ISO C++ Library.  This library is free
+// software; you can redistribute it and/or modify it under the
+// terms of the GNU General Public License as published by the
+// Free Software Foundation; either version 3, or (at your option)
+// any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License along
+// with this library; see the file COPYING3.  If not see
+// <http://www.gnu.org/licenses/>.
+
+#include <unordered_map>
+#include <string>
+#include <testsuite_hooks.h>
+
+void test01()
+{
+  {
+    std::unordered_multimap<std::string, std::string> mymmap;
+    std::pair<std::string, std::string> mypair{std::string("key"),
+                                              std::string("value")};
+    mymmap.insert(mypair);
+
+    VERIFY( mypair.first.length() && mypair.second.length() );
+  }
+
+  {
+    std::unordered_multimap<std::string, std::string> mymmap;
+    std::pair<std::string, std::string> mypair{std::string("key"),
+                                              std::string("value")};
+    mymmap.insert(mymmap.begin(), mypair);
+
+    VERIFY( mypair.first.length() && mypair.second.length() );
+  }
+}
+
+int main()
+{
+  test01();
+  return 0;
+}
index b70f78800f536f52245ffe43aa0d21153e8ebbee..70b99437b5c73277ee7ae8e312bc662018b8c7ce 100644 (file)
@@ -25,8 +25,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef std::unordered_multimap<int, int> Map;
   typedef typename Map::value_type Pair;
 
@@ -56,8 +54,6 @@ struct hasher
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef std::unordered_multimap<int, int, hasher> Map;
   typedef typename Map::value_type Pair;
 
@@ -89,8 +85,6 @@ void test02()
 
 void test03()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef std::unordered_multimap<int, int> Map;
   typedef typename Map::value_type Pair;
 
index 2cb616f4b824243f3c186c0992dc53cf1bc9d05c..99f1340daa8606db3bc08867d7b21baaf3662ff1 100644 (file)
@@ -27,8 +27,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef std::unordered_multimap<std::string, int> Map;
   typedef std::pair<const std::string, int> Pair;
 
@@ -54,8 +52,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef std::unordered_multimap<std::string, int> Map;
   typedef std::pair<const std::string, int> Pair;
 
index 576d8b48aeedbbaecf9de6719c759c6536a0863b..7750d8f190aef879c1870895be604f726e1c9534 100644 (file)
@@ -26,8 +26,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef std::unordered_multimap<std::string, int> Map;
   typedef std::pair<const std::string, int> Pair;
 
@@ -44,8 +42,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef std::unordered_multimap<std::string, int> Map;
   typedef std::pair<const std::string, int> Pair;
 
index 48f23d838260d8d6cf8181234b78bd699144a51e..f3b2819eb0c8e71ca409e3ab578c8ed60f5b1533 100644 (file)
@@ -28,7 +28,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::rvalstruct;
 
   typedef std::unordered_multimap<int, rvalstruct> Map;
@@ -47,7 +46,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::rvalstruct;
 
   typedef std::unordered_multimap<int, rvalstruct> Map;
index 77b00a2d064d0487b7ffed07ab79438f7dce7b88..56e157c0e37bee140261452525e79fa536905ecf 100644 (file)
@@ -28,7 +28,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::rvalstruct;
 
   typedef std::unordered_multimap<rvalstruct, rvalstruct> Map;
@@ -47,7 +46,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::rvalstruct;
 
   typedef std::unordered_multimap<rvalstruct, rvalstruct> Map;
index cb4fb98a850248e89f2b34d53ca2f84abfbedf9d..06eddccbffad4a49aece3d0e142974f5ea10ed97 100644 (file)
@@ -38,8 +38,6 @@ private:
   std::vector<double> coords;
 };
 
-bool test __attribute__((unused)) = true;
-
 void test01()
 {
   typedef std::unordered_multimap<char, std::vector<double>> MMap;
index 635e7d0acd3e4a20f3237ff602a7fe7c203714ba..85b2c99693d8bbed9b6ce570e25a33bd5e11af2c 100644 (file)
@@ -25,8 +25,6 @@ using test_type = std::unordered_multimap<int, int>;
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   test_type c{ {1, 10}, { 1, 11 }, {2, 20}, { 2, 21}, {3, 30}, { 3, 31 } };
   test_type::node_type node;
   test_type::iterator pos;
@@ -92,8 +90,6 @@ test01()
 void
 test02()
 {
-  bool test __attribute__((unused)) = true;
-
   test_type c{ {1, 10}, { 1, 11 }, {2, 20}, { 2, 21}, {3, 30}, { 3, 31 } };
   test_type::node_type node;
   test_type::iterator pos;
index 3c67e3c28dae9fb7d6c8fc38c1e66d45681f2c74..ebb8f18fd4b259ddf0b3859beb58d7995b00e692 100644 (file)
@@ -30,8 +30,6 @@ struct equal : std::equal_to<> { };
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   const test_type c0{ {1, 10}, {1, 11}, {2, 20}, {2, 21}, {3, 30}, {3, 31} };
   test_type c1 = c0, c2 = c0;
 
@@ -50,8 +48,6 @@ test01()
 void
 test02()
 {
-  bool test __attribute__((unused)) = true;
-
   const test_type c0{ {1, 10}, {1, 11}, {2, 20}, {2, 21}, {3, 30}, {3, 31} };
   test_type c1 = c0;
   std::unordered_multimap<int, int, hash, equal> c2( c0.begin(), c0.end() );
@@ -72,8 +68,6 @@ test02()
 void
 test03()
 {
-  bool test __attribute__((unused)) = true;
-
   const test_type c0{ {1, 10}, {1, 11}, {2, 20}, {2, 21}, {3, 30}, {3, 31} };
   test_type c1 = c0;
   std::unordered_multimap<int, int, hash, equal> c2( c0.begin(), c0.end() );
@@ -94,8 +88,6 @@ test03()
 void
 test04()
 {
-  bool test __attribute__((unused)) = true;
-
   const test_type c0{ {1, 10}, {1, 11}, {2, 20}, {2, 21}, {3, 30}, {3, 31} };
   test_type c1 = c0;
   std::unordered_map<int, int, hash, equal> c2( c0.begin(), c0.end() );
index 26fdf7672449eca5375c5a4a9e6882775dbeca3d..e79762c4bab9e1c34b8940bdd2d791a0591fcede 100644 (file)
@@ -20,8 +20,6 @@
 #include <unordered_map>
 #include <testsuite_hooks.h>
 
-bool test __attribute__((unused)) = true;
-
 void test01()
 {
   const int N = 1000;
index 6766e0029a64b319c3ae99b5cfc4a691a9c52552..dec07234b6d95a4dfab5ef28b1578e28d53274eb 100644 (file)
@@ -25,7 +25,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   typedef unordered_multimap<int, int>::value_type value_type;
index 87db82de5fa46789788c92ec1a650234e6442349..73162f0bd979edce4836f1bca767ed36a10d4f9c 100644 (file)
@@ -24,8 +24,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef std::pair<const int, int> Pair;
   std::unordered_multimap<int, int> umm1, umm2;
   VERIFY( umm1 == umm2 );
index ab7e699855a23a5bb723bfee5a7a1ce482b828ee..07a600fc21ec93d90e4ad59fefe7e7adba78f711 100644 (file)
@@ -25,8 +25,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef std::pair<const int, int> Pair;
   std::unordered_multimap<int, int> umm1, umm2;
   VERIFY( umm1 == umm2 );
index 2933948d94807dd98b4411067dcb7f68df54e4f5..611d21239e6bc1b851468eb4fea1abee01a2fa2e 100644 (file)
@@ -39,7 +39,6 @@ using __gnu_test::propagating_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::unordered_multiset<T, hash, equal_to, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -51,7 +50,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::unordered_multiset<T, hash, equal_to, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -63,7 +61,6 @@ void test02()
 
 void test03()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::unordered_multiset<T, hash, equal_to, alloc_type> test_type;
   test_type v1(alloc_type(1));
index 8f2089b71fd2d06683843c8ebe42ed174573feb4..8fbd02ed7cf241091314f5e9977393b9d4f31c24 100644 (file)
@@ -39,7 +39,6 @@ using __gnu_test::propagating_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::unordered_multiset<T, hash, equal_to, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -53,7 +52,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::unordered_multiset<T, hash, equal_to, alloc_type> test_type;
   test_type v1(alloc_type(1));
index 6503469b801404bea1461407fada1993ffe85c48..be0321e23f316efdc27bbf9ead2e024e8515752e 100644 (file)
@@ -46,7 +46,6 @@ template class std::unordered_multiset<T, hash, equal_to, SimpleAllocator<T>>;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef SimpleAllocator<T> alloc_type;
   typedef std::allocator_traits<alloc_type> traits_type;
   typedef std::unordered_multiset<T, hash, equal_to, alloc_type> test_type;
index 0339a96544634fa5598bb491b7a821452fa3e8be..0e8edd326fc95f3a28a58b63861f9cce74372da6 100644 (file)
@@ -39,7 +39,6 @@ using __gnu_test::uneq_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef uneq_allocator<T> alloc_type;
   typedef std::unordered_multiset<T, hash, equal_to, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -53,7 +52,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef uneq_allocator<T> alloc_type;
   typedef std::unordered_multiset<T, hash, equal_to, alloc_type> test_type;
   test_type v1(alloc_type(1));
index f969a6ec3fbf80a1516875f93af330e64986d6d2..69e022b8053efca22070cd84146f449db6b656d0 100644 (file)
@@ -27,7 +27,6 @@ using __gnu_test::counter_type;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<counter_type, false> alloc_type;
   typedef __gnu_test::counter_type_hasher hash;
   typedef std::unordered_multiset<counter_type, hash,
@@ -53,7 +52,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<counter_type, true> alloc_type;
   typedef __gnu_test::counter_type_hasher hash;
   typedef std::unordered_multiset<counter_type, hash,
index c6f7728b3543f5626a36561db1a307b0db5140c9..d89165da073877a86a4c0185bbad3686c7799595 100644 (file)
@@ -56,7 +56,6 @@ operator!=(const propagating_allocator<T, false>&,
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::unordered_multiset<T, hash, equal_to, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -72,7 +71,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::unordered_multiset<T, hash, equal_to, alloc_type> test_type;
   test_type v1(alloc_type(1));
index cfa08c7941d57fdece35b6df126cfeeb46f3aaba..2f233f2843b1b895e2b14eec358cdb56c3275f61 100644 (file)
@@ -28,8 +28,6 @@
 
 int main()
 {
-  bool test __attribute__((unused)) = true;
-
   const int nb = 10000;
   std::unordered_multiset<int> ref;
   for (int i = 0; i != nb; ++i)
index cb9d2cf4420aef69e71d25156fdd5b5058139624..1219517cca77ff0cbd7b7aeb854012eac45e5bcb 100644 (file)
@@ -28,8 +28,6 @@
 
 int main()
 {
-  bool test __attribute__((unused)) = true;
-
   std::unordered_multiset<int> a,b;
   a.insert(2);
   b.insert(1);
index 5e1a4a68a45ae7f3da655348568a4e9a22f84904..2576e9627a5f1de5c914b06714f6ccea1d48c00c 100644 (file)
@@ -23,8 +23,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef __gnu_test::uneq_allocator<int> alloc_type;
   typedef __gnu_debug::unordered_multiset<int, std::hash<int>,
                                          std::equal_to<int>,
index 410f7c1ad2a14f9ef76d190dcb7c8a475443c2a6..6d1fc4a1573f3ea583477559a8a07c61d9116e69 100644 (file)
@@ -22,8 +22,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef __gnu_test::propagating_allocator<int, false> alloc_type;
   typedef __gnu_debug::unordered_multiset<int, std::hash<int>,
                                          std::equal_to<int>,
index e0670e68f626c3393fd8200fe25620307624f2ca..65e8dc34a37d86392f79e0272a1dd1ac1b3cf3e0 100644 (file)
@@ -26,8 +26,6 @@ using __gnu_test::uneq_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef uneq_allocator<int> alloc_type;
   typedef __gnu_debug::unordered_multiset<
     int, std::hash<int>, std::equal_to<int>, alloc_type> test_type;
index 2fefa0f4d43f54d25a8fc482ad10ee90cd51c9be..238db49fa29720cbaf9eaed9422c557b57e02da3 100644 (file)
@@ -37,8 +37,6 @@ namespace
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-  
   typedef std::unordered_multiset<std::string> Mset;
   typedef Mset::iterator       iterator;
   typedef Mset::const_iterator const_iterator;
index 625cb469383d46ce60ac06b07e3a184f6e353c27..f76ccfa89a8f46da27b21d9e348abe311722bf12 100644 (file)
@@ -35,8 +35,6 @@ namespace
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-  
   typedef std::unordered_multiset<std::string> Mset;
   typedef Mset::iterator       iterator;
   typedef Mset::const_iterator const_iterator;
index fc0a4e58afd065764d0bdde58050cca0dbced049..ed8445b117e26ec6c6cf9d5edc0ab6d3c7523c9e 100644 (file)
@@ -40,8 +40,6 @@ namespace
 // libstdc++/24061
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-  
   typedef std::unordered_multiset<std::string> Mset;
   typedef Mset::iterator       iterator;
   typedef Mset::const_iterator const_iterator;
index eb3c04ebdfff996221c18e0f193ad3808de74543..55ce8806c924c30ba28e7b87ed646086424ad600 100644 (file)
@@ -24,9 +24,7 @@
 // DR 1189. Awkward interface for changing the number of buckets
 // in an unordered associative container
 void test01() 
-{ 
-  bool test __attribute__((unused)) = true;
-  
+{
   std::unordered_multiset<int> ms1;
   ms1.reserve(10);
   VERIFY( ms1.bucket_count() >= 10 );
index 47327a73381a642a54e156793c30a5ba5a3391aa..3f1458826ead91eaa4875c3629a914becb09c37e 100644 (file)
 
 using namespace std;
 
-int test01()
+void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   unordered_multiset<int> m({ 1, 5, 5, 37 });
   VERIFY(m.size() == 4);
   VERIFY(m.count(1) == 1);
@@ -48,8 +46,6 @@ int test01()
   VERIFY(m.count(102) == 1);
   VERIFY(m.count(42) == 2);
   VERIFY(m.count(1) == 0);
-
-  return test;
 }
 
 int main()
index 1aa30902d55507cd40afa32cf8bc278d06310c7e..ac58f2985bcad4b4f9b7ba374cb46527b07f6720 100644 (file)
@@ -26,8 +26,6 @@
 // libstdc++/24061
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-  
   typedef std::unordered_multiset<std::string> Mset;
   typedef Mset::iterator       iterator;
   typedef Mset::const_iterator const_iterator;
index 5352a0be733dbef924fa0e92ed28161c8e1a583c..7c8dfda3a76c1eaecf676f9093c8a4e069985ab4 100644 (file)
@@ -61,8 +61,6 @@ bool num_equal::_S_called_on_moved_instance = false;
 // libstdc++/51866
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-  
   std::unordered_multiset<num, num_hash, num_equal> mset;
   mset.insert(num(1));
   mset.insert(num(2));
index fbbf42e8104162802258978a80b7a73b48c7d40a..6c10504a57c8713034a2b8adda7b66b9d2fd207b 100644 (file)
@@ -43,8 +43,7 @@ namespace
 void test01()
 {
   using namespace std;
-  bool test __attribute__((unused)) = true;
-  
   unordered_multiset<pair<int, int>, pair_hash, pair_equal_to> mset;
   vector<int> values;
 
index bc44e4b5474b6a8f94bf21dad3a8c4727e6582f8..0085ee9e37af392cbbfe43e468d9adb643bda835 100644 (file)
@@ -35,7 +35,6 @@ namespace
 void test01()
 {
   using namespace std;
-  bool test __attribute__((unused)) = true;
 
   std::unordered_multiset<int> mms;
   mms.insert(10);
index b318a9c5a306824baff4c4cafda0a1ba07f9e362..97a76f6136a04c36a634652457f4ef7ee035fb98 100644 (file)
@@ -24,8 +24,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef std::numeric_limits<size_t> nl_size_t;
   std::unordered_multiset<int, std::hash<int>, std::equal_to<int>,
                          __gnu_cxx::throw_allocator_limit<int> > us;
index 91ee6c4916239e7fbd010bb783a91e977ec32e7c..496df5de589dd5763baa64e90827cb918bf292fa 100644 (file)
@@ -40,8 +40,6 @@ namespace
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef std::unordered_multiset<std::string> Set;
   Set s;
   VERIFY(s.empty());
@@ -65,8 +63,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef std::unordered_multiset<int> Set;
   Set s;
   VERIFY(s.empty());
index 6e1a1c176e875aa0b3c77217e39df40f811e6aa4..f2abcf735f6308c061e350a4ac9a790194a0592a 100644 (file)
@@ -39,8 +39,6 @@ namespace
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef std::unordered_multiset<std::string> Set;
   Set s;
   VERIFY(s.empty());
@@ -55,8 +53,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef std::unordered_multiset<std::string> Set;
   Set s;
   VERIFY(s.empty());
index 4527987a31ecf1990eb17321a4f83e3029f25385..17e5e9618eeefd26951fd4ff75f391b67c203d7e 100644 (file)
@@ -41,7 +41,6 @@ namespace
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::rvalstruct;
 
   typedef std::unordered_multiset<rvalstruct> Set;
@@ -58,7 +57,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::rvalstruct;
 
   typedef std::unordered_multiset<rvalstruct> Set;
index c9091ab2c6c64744e706d02c6c8008245eaad63b..d9163345077e9a529101582bfa97aa6763ea1403 100644 (file)
@@ -49,8 +49,6 @@ struct PathPointEqual
   { return __lhs.getType() == __rhs.getType(); }
 };
 
-bool test __attribute__((unused)) = true;
-
 void test01()
 {
   typedef std::unordered_multiset<PathPoint, PathPointHasher,
index e703dc41ca0b1a2ea1abe6361096094f1c18e434..4b7414078f915e0e7ba78021cd8c7e2890b4aec9 100644 (file)
@@ -25,8 +25,6 @@ using test_type = std::unordered_multiset<int>;
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   test_type c{ 1, 1, 2, 2, 3, 3 };
   test_type::node_type node;
   test_type::iterator pos;
@@ -85,8 +83,6 @@ test01()
 void
 test02()
 {
-  bool test __attribute__((unused)) = true;
-
   test_type c{ 1, 1, 2, 2, 3, 3 };
   test_type::node_type node;
   test_type::iterator pos;
index 4ce4b84d717f4bd7e5890ab0fb61b1bd23d22736..4c2569c8f1987cb300eb83f2393a0354b12b2d4d 100644 (file)
@@ -30,8 +30,6 @@ struct equal : std::equal_to<> { };
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   test_type c0{ 1, 1, 2, 2, 3, 3 };
   test_type c1 = c0, c2 = c0;
 
@@ -50,8 +48,6 @@ test01()
 void
 test02()
 {
-  bool test __attribute__((unused)) = true;
-
   test_type c0{ 1, 1, 2, 2, 3, 3 };
   test_type c1 = c0;
   std::unordered_multiset<int, hash, equal> c2( c0.begin(), c0.end() );
@@ -92,8 +88,6 @@ test03()
 void
 test04()
 {
-  bool test __attribute__((unused)) = true;
-
   const test_type c0{ 1, 1, 2, 2, 3, 3 };
   test_type c1 = c0;
   std::unordered_set<int, hash, equal> c2( c0.begin(), c0.end() );
index c8b8065b6cd28ca24d41cd629f823c9859509d02..9f5afb4780b06c8ce005cd015a3b929314d5363c 100644 (file)
@@ -20,8 +20,6 @@
 #include <unordered_set>
 #include <testsuite_hooks.h>
 
-bool test __attribute__((unused)) = true;
-
 void test01()
 {
   const int N = 1000;
index c7013ad29248e8f477f61a331442ca09122d8d97..9f4fb9b7f0ffe96b148a1c381bed8f631e7039df 100644 (file)
@@ -25,7 +25,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   unordered_multiset<int> ums0;
index 765995f040e40947080e861f8634a9cafb2aa06d..1a3a4b094fb0e92c1e9b446410f83196a73f5b20 100644 (file)
@@ -24,8 +24,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::unordered_multiset<int> ums1, ums2;
   VERIFY( ums1 == ums2 );
   VERIFY( !(ums1 != ums2) );
index 99629080a4786413a02d91f44638486aec87f8da..d7998b0fbb3ec0b5ad90831ea9c6674dc61af48e 100644 (file)
@@ -39,7 +39,6 @@ using __gnu_test::propagating_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::unordered_set<T, hash, equal_to, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -51,7 +50,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::unordered_set<T, hash, equal_to, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -63,7 +61,6 @@ void test02()
 
 void test03()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::unordered_set<T, hash, equal_to, alloc_type> test_type;
   test_type v1(alloc_type(1));
index 601e4a62c722fa9c25251bc86c2a50557a2511fe..c7ec616c51a28dc7ecdb1f6b86cc30b14e7c1828 100644 (file)
@@ -39,7 +39,6 @@ using __gnu_test::propagating_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::unordered_set<T, hash, equal_to, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -53,7 +52,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::unordered_set<T, hash, equal_to, alloc_type> test_type;
   test_type v1(alloc_type(1));
index e1f0746e31a894c077a11a4c923e024192bd837b..dba651eb0a82193f009d37ccdcbc0b377f9d1c1a 100644 (file)
@@ -34,7 +34,6 @@ template class std::unordered_set<T, H, E, CustomPointerAlloc<T>>;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef CustomPointerAlloc<T> alloc_type;
   typedef std::unordered_set<T, H, E, alloc_type> test_type;
   test_type v;
index a3b8b41fb270a4430f30e7956f80b2ab1c83e0d2..e0e2864655ed7935a22aaba96001f4af09545518 100644 (file)
@@ -46,7 +46,6 @@ template class std::unordered_set<T, hash, equal_to, SimpleAllocator<T>>;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef SimpleAllocator<T> alloc_type;
   typedef std::allocator_traits<alloc_type> traits_type;
   typedef std::unordered_set<T, hash, equal_to, alloc_type> test_type;
index 8b96330ed4827808a60500f8c4f710b572fc9c07..4ba9667fec17f3b7951b0af0ff8d5d851a9540eb 100644 (file)
@@ -39,7 +39,6 @@ using __gnu_test::uneq_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef uneq_allocator<T> alloc_type;
   typedef std::unordered_set<T, hash, equal_to, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -53,7 +52,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef uneq_allocator<T> alloc_type;
   typedef std::unordered_set<T, hash, equal_to, alloc_type> test_type;
   test_type v1(alloc_type(1));
index c15abfbc2e17dbe9589d8245c6e0213589a0224f..f0b420b3835b238ce2d68d1510622868d87349d9 100644 (file)
@@ -27,7 +27,6 @@ using __gnu_test::counter_type;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<counter_type, false> alloc_type;
   typedef __gnu_test::counter_type_hasher hash;
   typedef std::unordered_set<counter_type, hash,
@@ -53,7 +52,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<counter_type, true> alloc_type;
   typedef __gnu_test::counter_type_hasher hash;
   typedef std::unordered_set<counter_type, hash,
index b7996c6f2525fde27b8a9856e5a7f64f76a904c1..992ca05cd7ee55fe9221d03980339f2425469726 100644 (file)
@@ -56,7 +56,6 @@ operator!=(const propagating_allocator<T, false>&,
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::unordered_set<T, hash, equal_to, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -72,7 +71,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::unordered_set<T, hash, equal_to, alloc_type> test_type;
   test_type v1(alloc_type(1));
index 68e314b8f0b1d9c0b4b8c76df8aca41bfdd8e983..a6e02262f83cbe089a4fb84fa7ae8ce163319f48 100644 (file)
@@ -39,8 +39,6 @@ namespace
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   // static_assert(std::__cache_default<int, hash>::value,
   //           "Unexpected default cache value");
   typedef std::unordered_set<int, hash> us_t;
index f01328cb3c0dcade138d6bbb6fe23cf0f62836bd..1c18588e8d1f2682fdbdd1d90a6213e239399c75 100644 (file)
@@ -28,8 +28,6 @@
 
 int main()
 {
-  bool test __attribute__((unused)) = true;
-
   std::unordered_set<int> a,b;
   a.insert(2);
   b.insert(1);
index 4c95ae3a3b95dedbfcad58e16621aef1b851bb12..a5c7dc460d6d81d61b9caefac3f955344570a918 100644 (file)
@@ -23,8 +23,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef __gnu_test::uneq_allocator<int> alloc_type;
   typedef __gnu_debug::unordered_set<int, std::hash<int>,
                                     std::equal_to<int>, alloc_type> test_type;
index 6a45c437bc12ffb8e974ed5d8f84a060a853a2c3..fe918fd08dcbf5eccb98f87a17c066b38886fa32 100644 (file)
@@ -23,7 +23,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace __gnu_debug;
 
   std::unordered_set<int> u = { 0, 1, 2 };
@@ -49,7 +48,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   using namespace __gnu_debug;
 
   std::unordered_set<int> u = { 0, 1, 2 };
index 6ed3adb095e5a4784fc6edb693de5b4478d3d276..3dd4b3615088522591f12d337c658e2f628bd792 100644 (file)
@@ -22,8 +22,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef __gnu_test::propagating_allocator<int, false> alloc_type;
   typedef __gnu_debug::unordered_set<int, std::hash<int>,
                                     std::equal_to<int>,
index 6b3fd6da3997cd8139558109ae944b212084b376..8cd5aebaf1fc61ef6e329ddebbbb37cc635fb104 100644 (file)
@@ -26,8 +26,6 @@ using __gnu_test::uneq_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef uneq_allocator<int> alloc_type;
   typedef __gnu_debug::unordered_set<
     int, std::hash<int>, std::equal_to<int>, alloc_type> test_type;
index 3a25de721d1eed797aa64c2805cf0247ddccebbb..84f00bc86e736e4b0b69672a5dca387ea56432f1 100644 (file)
@@ -37,8 +37,6 @@ namespace
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-  
   typedef std::unordered_set<std::string> Set;
   typedef Set::iterator       iterator;
   typedef Set::const_iterator const_iterator;
index 33f21880aa3ab7e000c5d1c51ad51c21e7f69ea8..65bd7608e8e095c6cb41d13994cf94013e9fc850 100644 (file)
@@ -26,8 +26,6 @@
 // libstdc++/24061
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-  
   typedef std::unordered_set<std::string> Set;
   typedef Set::iterator       iterator;
   typedef Set::const_iterator const_iterator;
index e743fbaaab7410f901de455428d46be49b8b48e7..0fae199e4f80ea923cd1c0260b0123c65402d7e9 100644 (file)
@@ -26,8 +26,6 @@
 template<typename _USet>
   void test()
   {
-    bool test __attribute__((unused)) = true;
-
     for (float lf = 1.0; lf < 101.0; lf *= 10.0)
       for (int size = 1; size <= 6561; size *= 3)
        {
index 331c71359a5aef6d269a67a15f0f1be412fea1d2..d6465d35c338e3535e14ea15847c917bb44a46f0 100644 (file)
@@ -24,7 +24,6 @@
 template<typename _USet>
   void test(int threshold)
   {
-    bool test __attribute__((unused)) = true;
     _USet us;
     auto nb_reserved = us.bucket_count();
     us.reserve(nb_reserved);
index 2f320b8e87bb51cc59d5364f48067a4a97bd0de4..03d9b141e17aef446a1051a84a4f04834f42f3c0 100644 (file)
@@ -24,9 +24,7 @@
 // DR 1189. Awkward interface for changing the number of buckets
 // in an unordered associative container
 void test01() 
-{ 
-  bool test __attribute__((unused)) = true;
-  
+{
   std::unordered_set<int> s1;
   s1.reserve(10);
   VERIFY( s1.bucket_count() >= 10 );
index b6e66ec722532982f58a31082bb870bf405c3702..c54b07bdba886503559dfa07c8ba0ff4aa4726b6 100644 (file)
@@ -24,7 +24,6 @@
 template<typename _USet>
   void test()
   {
-    bool test __attribute__((unused)) = true;
     {
       _USet us;
       for (int i = 0; i != 100000; ++i)
index c388b70129511c20df435156713df6441e25b651..d815291a8cff37bd8501063e0e992099239ec62b 100644 (file)
@@ -24,8 +24,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::__detail::_Power2_rehash_policy policy;
   VERIFY( policy._M_next_bkt(1) == 2 );
   VERIFY( policy._M_next_bkt(2) == 4 );
@@ -38,8 +36,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
-
   std::__detail::_Power2_rehash_policy policy;
 
   for (std::size_t i = 1;;)
index e5e15315cdbe49dfdce3d0e68c6c29c383b93ab2..a653b104df34969dc3108289f5859a2eb4b521b3 100644 (file)
@@ -24,8 +24,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::__detail::_Prime_rehash_policy policy;
 
   for (std::size_t i = 1;;)
index f1b5920148c56342548c42e3981c675d8cdb01da..b6d986259b3bb97989abe83fbbc4fd039f01a78a 100644 (file)
@@ -24,7 +24,6 @@
 template<typename _USet>
   void test()
   {
-    bool test __attribute__((unused)) = true;
     _USet us;
     typedef typename _USet::size_type size_type;
     bool rehashed = false;
index 2e9cc09e8cf99c49a83aadf57ed3f001edee351c..9f956f4a3be2640750730b7696a9b0e844e436d7 100644 (file)
 
 using namespace std;
 
-int test01()
+void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   unordered_set<int> m({ 1, 5, 37 });
   VERIFY(m.size() == 3);
   VERIFY(m.count(1) == 1);
@@ -48,8 +46,6 @@ int test01()
   VERIFY(m.count(102) == 1);
   VERIFY(m.count(42) == 1);
   VERIFY(m.count(1) == 0);
-
-  return test;
 }
 
 int main()
index 497cf4ce1c87a57647bb30daa5a16152aac7cea1..30b472d712293be3266bb537981e912761df95f2 100644 (file)
@@ -26,8 +26,6 @@
 // libstdc++/24061
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-  
   typedef std::unordered_set<std::string> Set;
   typedef Set::iterator       iterator;
   typedef Set::const_iterator const_iterator;
index 694e6a6c93e8bb1b28c083921f5cb22b28ef492e..78bdaa38ed2c35cfb52b6a6133aca642921fe712 100644 (file)
@@ -30,8 +30,6 @@ template<template<typename _Value, typename _Hash,
           typename _USet>
   void test01()
   {
-    bool test __attribute__((unused)) = true;
-
     // Make sure whatever happen we restore throw allocator limit at exit.
     __gnu_cxx::limit_condition::adjustor_base adj;
 
@@ -76,8 +74,6 @@ template<template<typename _Value, typename _Hash,
           typename _USet>
   void test02()
   {
-    bool test __attribute__((unused)) = true;
-
     // Make sure whatever happen we restore throw allocator limit at exit.
     __gnu_cxx::limit_condition::adjustor_base adj;
 
index caed770cd64e66f0811acd78a656b72c44750545..c4a605749dfd7ba8895dae09de1999791290f418 100644 (file)
@@ -25,8 +25,6 @@
 #include <testsuite_hooks.h>
 #include <testsuite_counter_type.h>
 
-bool test __attribute__((unused)) = true;
-
 void test01()
 {
   using namespace __gnu_test;
index 3ef16fc1862f2b1e76118b83df9a48d4858778a3..cbeb9c017601b1a9565e42be98fd0f41daa1550e 100644 (file)
@@ -25,8 +25,6 @@
 #include <unordered_set>
 #include <testsuite_hooks.h>
 
-bool test __attribute__((unused)) = true;
-
 void test01()
 {
   typedef std::unordered_set<std::string> Set;
index 9d3758ac133da68e2dec19fea0d55a375503deb7..d3801c2c21578c936cd49188d24dc904c27c8258 100644 (file)
@@ -26,8 +26,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef std::unordered_set<std::string> Set;
   Set s;
   VERIFY(s.empty());
@@ -42,8 +40,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef std::unordered_set<std::string> Set;
   Set s;
   VERIFY(s.empty());
index 470050e1563ab90a16b802396d2feae6471a44e8..4cf76473a6fd1e9d8a8e89b512f14aa19aaa096f 100644 (file)
@@ -28,7 +28,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::rvalstruct;
 
   typedef std::unordered_set<rvalstruct> Set;
@@ -45,7 +44,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::rvalstruct;
 
   typedef std::unordered_set<rvalstruct> Set;
index 45611e41e56267aa09b0e904eb8a58c1d62d5a09..794ae0e9c18ff6b0fce878a8b052c3cf817f9fbb 100644 (file)
@@ -27,8 +27,6 @@ template<template<typename _Value, typename _Hash,
           typename _USet>
   void test()
   {
-    bool test __attribute__((unused)) = true;
-
     typedef std::numeric_limits<std::size_t> nl_size_t;
     _USet<int, std::hash<int>, std::equal_to<int>,
          __gnu_cxx::throw_allocator_limit<int> > us;
index 8fbbb1bfea9d2bce9031d42d484a392ec11857b1..e3ce2b5e70a9cc260079ce88b4d995767f941e81 100644 (file)
@@ -49,8 +49,6 @@ struct PathPointEqual
   { return __lhs.getType() == __rhs.getType(); }
 };
 
-bool test __attribute__((unused)) = true;
-
 void test01()
 {
   typedef std::unordered_set<PathPoint, PathPointHasher, PathPointEqual> Set;
index cb48cbcef4e05786a4c9dfacae0382a767e321a7..a06835aed6aafdd41c321c993fabf7fd76f01204 100644 (file)
@@ -25,8 +25,6 @@ using test_type = std::unordered_set<int>;
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   test_type c{ 1, 2, 3 };
   test_type::node_type node;
   test_type::insert_return_type ins;
@@ -94,8 +92,6 @@ test01()
 void
 test02()
 {
-  bool test __attribute__((unused)) = true;
-
   test_type c{ 1, 2, 3 };
   test_type::node_type node;
   test_type::insert_return_type ins;
index 29387dd21f69126190559991f109ee63dce013de..817841092416ad08a0194e7681711459f75a53d7 100644 (file)
@@ -42,8 +42,6 @@ bool equal_elements(const C1& c1, const C2& c2)
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   const test_type c0{ 1, 2, 3, };
   test_type c1 = c0, c2 = c0;
 
@@ -64,8 +62,6 @@ test01()
 void
 test02()
 {
-  bool test __attribute__((unused)) = true;
-
   const test_type c0{ 1, 2, 3, };
   test_type c1 = c0;
   std::unordered_set<int, hash, equal> c2( c0.begin(), c0.end() );
@@ -91,8 +87,6 @@ test02()
 void
 test03()
 {
-  bool test __attribute__((unused)) = true;
-
   const test_type c0{ 1, 2, 3, };
   test_type c1 = c0;
   std::unordered_multiset<int, hash, equal> c2( c0.begin(), c0.end() );
index ae4333fd44385800c6b4b0ccef85facbc2b3fb46..732e14997e4ff365f064ab1f327428cca321ff40 100644 (file)
@@ -20,8 +20,6 @@
 #include <unordered_set>
 #include <testsuite_hooks.h>
 
-bool test __attribute__((unused)) = true;
-
 void test01()
 {
   const int N = 1000;
index d205d683997b23b6cdc1cf07701d837428e6265b..2c493e3e22bce3a31ea48be024c7f3fb157ce936 100644 (file)
@@ -22,7 +22,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   std::unordered_set<int> us1 { 0, 1 };
   {
     std::unordered_set<int> us2(std::move(us1));
index 1fb685c0f6813e6c15ae7355a5b6be2438e2f9c0..1450b74e57ac448504b3b00607ff914bb64810f2 100644 (file)
@@ -25,7 +25,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   unordered_set<int> us0;
index 1cfb3b7fc5b97e6a2d4c21af2101cb44beee7a6a..eb0cac520a9bef61b0e83b19797f51701edb3b43 100644 (file)
@@ -24,8 +24,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::unordered_set<int> us1, us2;
   VERIFY( us1 == us2 );
   VERIFY( !(us1 != us2) );
index 2a96196f5ab58d3220f603066d255d20fc4a0a1f..098f6e4c4e2f73b689b4fb485acf6a4bd1cde022 100644 (file)
@@ -27,7 +27,6 @@ using __gnu_test::propagating_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::vector<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -39,7 +38,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::vector<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -51,7 +49,6 @@ void test02()
 
 void test03()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::vector<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
index 6e10c19896c1b2e0c358ff569e479cdf95116f4f..76b050007125621c5ead4bf9cc4f77e64adedcf4 100644 (file)
@@ -27,7 +27,6 @@ using __gnu_test::propagating_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::vector<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -41,7 +40,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::vector<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
index c7740749044d1853d1189a7b832335f03fc5043d..605b1f7aca03a740568a26092428755a85f601ee 100644 (file)
@@ -30,7 +30,6 @@ template class std::vector<T, CustomPointerAlloc<T>>;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef CustomPointerAlloc<T> alloc_type;
   typedef std::vector<T, alloc_type> test_type;
   test_type v;
index 16310dd529413fb5337051b763c9823648a2bf94..bccd59303f55dd52df6bc88fc89ac769f9fa2ee2 100644 (file)
@@ -30,7 +30,6 @@ template class std::vector<T, SimpleAllocator<T>>;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef SimpleAllocator<T> alloc_type;
   typedef std::allocator_traits<alloc_type> traits_type;
   typedef std::vector<T, alloc_type> test_type;
index c9cf806972f64c32c8e70585150ccedfd789dece..1a79362592dfafa7643e2d5a73f7076b081367d0 100644 (file)
@@ -27,7 +27,6 @@ using __gnu_test::uneq_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef uneq_allocator<T> alloc_type;
   typedef std::vector<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -41,7 +40,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef uneq_allocator<T> alloc_type;
   typedef std::vector<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
index 84438576510a815ce958ad2de69ec732ad86cf7b..ba8f7c876751b55895fdd2e0737e77741dc1ed5e 100644 (file)
@@ -27,7 +27,6 @@ using __gnu_test::propagating_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::vector<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -41,7 +40,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::vector<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -57,7 +55,6 @@ void test02()
 
 void test03()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::vector<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
index 57bbdda46eb9a90d3f1a3ff74e51d469966b30c8..30532f2e6eae8a00e6c38944a8288f70850c281f 100644 (file)
@@ -44,7 +44,6 @@ operator!=(const propagating_allocator<T, false>&,
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::vector<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -60,7 +59,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::vector<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
index f8bdecc03aa2007371763a3fe688083bcbc27790..55e8fd6da36e296e8922b1defffcbf35c2fc12e4 100644 (file)
@@ -25,7 +25,6 @@
 // libstdc++/6886
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef std::vector<bool>  bvec;
   int  i, num = 0;
   bvec v;
index 7bd8b396efd75aaa73ca88cacc201f4890ac71fb..d5f3e6587b836b523e862a4afd37840755a957e5 100644 (file)
@@ -26,8 +26,6 @@
 void
 test01()
 {
-  bool test __attribute((unused)) = true;
-
   typedef bool value_type;
   typedef __gnu_cxx::throw_allocator_limit<value_type> allocator_type;
   typedef std::vector<value_type, allocator_type> test_type;
index c961f0cd048734474ea947aaf6d37f89613c9d7b..62b808f7ef5301bf4c033c313a5a3f19481002a9 100644 (file)
@@ -27,7 +27,6 @@ using __gnu_test::propagating_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::vector<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -39,7 +38,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::vector<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -51,7 +49,6 @@ void test02()
 
 void test03()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::vector<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
index 1809a1531bbb10e36947c0fd2d482845a50efd2d..9177a8bf9b3aaf76472883beaa84ebcc45be1a1d 100644 (file)
@@ -27,7 +27,6 @@ using __gnu_test::propagating_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::vector<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -41,7 +40,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::vector<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
index 940a3b7ab7b6ca39e24f4285a57cdf53196a041d..d0c69be3eba61f498fb78a3be7a68e3a3fd39a6e 100644 (file)
@@ -30,7 +30,6 @@ template class std::vector<T, CustomPointerAlloc<T>>;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef CustomPointerAlloc<T> alloc_type;
   typedef std::vector<T, alloc_type> test_type;
   test_type v;
index 177d968798ee131d067031a217b5906fd1919b1a..a409a1415c28bf50d49cf6a6aacdcc644cabbee9 100644 (file)
@@ -27,7 +27,6 @@ using __gnu_test::uneq_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef uneq_allocator<T> alloc_type;
   typedef std::vector<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -41,7 +40,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef uneq_allocator<T> alloc_type;
   typedef std::vector<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
index 705e151fb7222675ac8ec7e7cad6422c87ac59fb..0354275f77ab6780cfce06ca7b0fd1bd882b4ca3 100644 (file)
@@ -27,7 +27,6 @@ using __gnu_test::propagating_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::vector<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -41,7 +40,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::vector<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -57,7 +55,6 @@ void test02()
 
 void test03()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::vector<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
index 0840c0b156f42a128b0d803fcdedf5534c09fc55..f399525ba31150df1b24612b598186d7834d15af 100644 (file)
@@ -47,7 +47,6 @@ using __gnu_test::propagating_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, false> alloc_type;
   typedef std::vector<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
@@ -63,7 +62,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   typedef propagating_allocator<T, true> alloc_type;
   typedef std::vector<T, alloc_type> test_type;
   test_type v1(alloc_type(1));
index b1b2f37fa26660a992cce5a8c346372c3ffb7414..fc2a5163102a796a05dbe6b853fd2e52bb6a6f87 100644 (file)
@@ -75,8 +75,6 @@ const unsigned N11 = sizeof(A11) / sizeof(bool);
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef std::vector<bool>  vec_type;
 
   vec_type v;
index c9994e10311867cfe6d826d3b7e6362b865f5852..c86e7c3c1910e2f9612dcc46b1d23cb0cfebd779 100644 (file)
@@ -24,8 +24,6 @@
 // libstdc++/29134
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   using std::vector;
   using std::numeric_limits;
 
index 62f97915c4877c82c88f00b2be5370c592f474f3..2603507e6aea0880ad89b5255db2b9846d6d4e91 100644 (file)
@@ -22,8 +22,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::vector<bool> vb(__CHAR_BIT__ * sizeof(unsigned long) + 1);
   vb.pop_back();
 
index 5cae6d5aff8702f217eebe60042ebf66eaba7da1..a55294b05f59b5587102968c7f73a550ef7d0b9e 100644 (file)
@@ -121,8 +121,6 @@ const unsigned N9 = sizeof(A9) / sizeof(bool);
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef std::vector<bool>  vec_type;
 
   const vec_type v1_ref(A1, A1 + N1);
index 723d2cdda4d0b9246f56531833ac53532232689b..43b546a6720ef0722e596c3c18c9887d772b67bf 100644 (file)
@@ -121,8 +121,6 @@ const unsigned N9 = sizeof(A9) / sizeof(bool);
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef std::vector<bool>  vec_type;
 
   vec_type v1;
index 6d17e9b31bc2b9cb479e62dc8d179e54a50851a7..1281e351684fd756b13356d2360e9fddbaaf6f19 100644 (file)
@@ -39,8 +39,6 @@ const unsigned N5 = sizeof(A5) / sizeof(bool);
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef std::vector<bool>  vec_type;
   typedef vec_type::iterator iterator_type;
 
@@ -79,8 +77,6 @@ test01()
 void
 test02()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef std::vector<std::vector<bool> >  vec_type;
   typedef vec_type::iterator          iterator_type;
 
index 68a6c5add4fc3f2a142f49a33268c54ac99ca083..335d9071e77612713fd57f16ac327915dcec8d1e 100644 (file)
@@ -121,8 +121,6 @@ const unsigned N9 = sizeof(A9) / sizeof(bool);
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef std::vector<bool>  vec_type;
 
   vec_type v;
index fd94c78407ac040564cbcd19ad19c4227007da03..f6ebd02b9250d6a09016f726c931231727887a65 100644 (file)
@@ -49,7 +49,6 @@ check_cap_eq_maxsize(const std::vector<bool>& x)
 // libstdc++/31370
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   int myexit = 0;
 
   try
index b2cbcaa338012567a768e059d1fa42986f1e01de..0e917e5f59298801df9be08e4ad764d68c4936e9 100644 (file)
@@ -27,7 +27,6 @@
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   typedef __gnu_test::uneq_allocator<bool> my_alloc;
index b4b46bbe71822442477306707ea944a9b0ec4ff9..4ffabc89fc151481e14ee810405f1c3184a96426 100644 (file)
@@ -27,7 +27,6 @@
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   typedef __gnu_test::uneq_allocator<bool> my_alloc;
index 852c80e9edfd29bc2f9da3be5f4d1f0c84bbd851..316d8dfeff8519840271042e629d502fe3b1375a 100644 (file)
@@ -36,8 +36,6 @@ template<class Cont>
   void
   my_compare(const Cont& c1, const Cont& c2)
   {
-    bool test __attribute__((unused)) = true;
-
     VERIFY( c1.size() == c2.size() );
 
     for (std::size_t i = 0; i < c1.size(); ++i)
index 0d0b067a8c41ac6e19191fd36d030feab7a1cd07..9fe5ea530adc31f40dcfac4db0785e5a0b2fb9bd 100644 (file)
@@ -33,7 +33,6 @@ struct B { };
 void test01()
 {
   // non POD types
-  bool test __attribute__((unused)) = true;
   std::vector< A<B> > vec01;
   typedef std::vector< A<B> >::size_type size_type;
 
index 2475643f4fc24ecacdad4aff515173a80b378e4c..7544a452db74158927154413400256874773e0a8 100644 (file)
@@ -36,7 +36,6 @@ using __gnu_test::destructor;
 void
 test_reserve()
 {
-  bool test __attribute__((unused)) = true;
   typedef copy_tracker T;
   typedef std::vector<T, tracker_allocator<T> > X;
 
@@ -66,7 +65,6 @@ test_reserve()
 void
 test_reserve_exception_guarantee()
 {
-  bool test __attribute__((unused)) = true;
   typedef copy_tracker T;
   typedef std::vector<T, tracker_allocator<T> > X;
 
index 7f102786946ff04587443bbc671abe2b54334195..6d9165482c7a96fcab97484b5c89600771fac6c1 100644 (file)
@@ -24,7 +24,6 @@
 // libstdc++/29134
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   vector<int> v;
index 49e0190a6514cac549528f5452b7b26df817e366..de1e83b6a5ea676402a2326adef594267109bb2a 100644 (file)
@@ -23,8 +23,6 @@
 // libstdc++/29134
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::vector<int> v;
 
   VERIFY( v.max_size() == v.get_allocator().max_size() );
index 528e2ccbee40d350dac9560cc5a391933a477dd1..d317f1bf479ef3c6e0e4dc192dda37c8bd00a35a 100644 (file)
@@ -23,8 +23,6 @@
 // libstdc++/44190
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::vector<int> v;
   v.resize(10);
   VERIFY( v.size() <= v.capacity() );
index 10b370ba62398d43dbbdec3568338da9e77e4fec..d770e1cab58233e7615433c2bf7940bb02c5d118 100644 (file)
@@ -28,7 +28,7 @@
 // libstdc++/8230
 void test02()
 {
-  bool test __attribute__((unused)) = true;
+  bool test = true;
   {
     std::vector<int>  array;
     const std::size_t size = array.max_size();
index 7b39b535cd6c2f4bf98fc6785fd80c2526f36853..827b29ff3d61338098decfe9ff13cc3e2513a773 100644 (file)
@@ -27,7 +27,6 @@
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace __gnu_test;
 
   std::vector<copycounter> a(40);
index cd18303cd71b78111e0e6b2a990a7cebf5b8562e..d317c9e3804994912cd4e08b0267d3e108e4493d 100644 (file)
@@ -26,7 +26,6 @@
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace __gnu_test;
 
   std::vector<throwing_move_constructor> v(5);
index f57442b6685757eaeadd027678fc11d30b9490ed..1d424bf6740a7606738a4fcf895b33b8830e1ed4 100644 (file)
@@ -30,7 +30,7 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
+  bool test = true;
   std::vector<int> v;
   try
     {
index 8a6a81c734f1d65ff500a6e66560c7ef39581cdc..f3282fb2e9290ae669a6cb94103cc483d5f08632 100644 (file)
@@ -26,8 +26,6 @@ using namespace __gnu_test;
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::vector<copycounter> a;
   copycounter::copycount = 0;
   a.resize(10);
index 04b90aa7b90739597af58718e875e6eb51acd1a7..dce754812404c9d6f0f79776a46809fce59d8480 100644 (file)
@@ -26,7 +26,6 @@
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace __gnu_test;
 
   std::vector<throwing_move_constructor> v(5);
index ac998c095097e5676131ed3f2adcb4728201e4f7..fb72151f63cb1fbcecc7f78589d7fc55f440d6f5 100644 (file)
@@ -25,8 +25,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::vector<__gnu_test::NonCopyConstructible> v;
   VERIFY( std::distance(v.begin(), v.end()) == 0 );
 
index 4c60032c6e9baf2fd01d84ab9a290ec860321cb4..9c8e968a2cb88a5a430ce84eb09f9858903f3188 100644 (file)
@@ -25,8 +25,6 @@
 // libstdc++/42573
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::vector<int> v(100);
   v.push_back(1);
   v.push_back(1);
index c5d4c01bef68d175c4db724cf0a421c6ac76b487..aba249ad59fa3c8b27f2beb51e134f6256680303 100644 (file)
@@ -25,8 +25,6 @@ using __gnu_test::propagating_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef propagating_allocator<int, true> alloc_type;
   alloc_type alloc(5);
 
@@ -40,8 +38,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef propagating_allocator<int, false> alloc_type;
   alloc_type alloc(5);
 
index 628b250c8b38f145c2ecfe18ae30d9c6611b2ed2..e327b5e5260db98117ad1e6d755b20a2f582732e 100644 (file)
@@ -28,7 +28,6 @@
 void
 test03()
 {
-  bool test __attribute__((unused)) = true;
   const int A[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17};
   const int B[] = {7, 7, 7, 7, 7};
   const int N = sizeof(A) / sizeof(int);
index af4ef0392e8b5a6d012f7a0d060de93165cdecf3..06604bc2e478e6b8200d200cfe359a20bcb5072e 100644 (file)
@@ -39,7 +39,6 @@ void
 test_default_ctor_exception_gurantee()
 {
   // setup
-  bool test __attribute__((unused)) = true;
   typedef copy_tracker T;
   typedef std::vector<T, tracker_allocator<T> > X;
 
@@ -72,7 +71,6 @@ void
 test_copy_ctor_exception_gurantee()
 {
   // setup
-  bool test __attribute__((unused)) = true;
   typedef copy_tracker T;
   typedef std::vector<T, tracker_allocator<T> > X;
 
@@ -111,7 +109,6 @@ void
 test_assignment_operator_1()
 {
   // setup
-  bool test __attribute__((unused)) = true;
   typedef copy_tracker T;
   typedef std::vector<T, tracker_allocator<T> > X;
 
@@ -139,7 +136,6 @@ void
 test_assignment_operator_2()
 {
   // setup
-  bool test __attribute__((unused)) = true;
   typedef copy_tracker T;
   typedef std::vector<T, tracker_allocator<T> > X;
 
@@ -169,7 +165,6 @@ void
 test_assignment_operator_3()
 {
   // setup
-  bool test __attribute__((unused)) = true;
   typedef copy_tracker T;
   typedef std::vector<T, tracker_allocator<T> > X;
 
@@ -199,7 +194,6 @@ void
 test_assignment_operator_3_exception_guarantee()
 {
   // setup
-  bool test __attribute__((unused)) = true;
   typedef copy_tracker T;
   typedef std::vector<T, tracker_allocator<T> > X;
 
@@ -244,7 +238,6 @@ void
 test_fill_assign_1()
 {
   // setup
-  bool test __attribute__((unused)) = true;
   typedef copy_tracker T;
   typedef std::vector<T, tracker_allocator<T> > X;
 
@@ -272,7 +265,6 @@ void
 test_fill_assign_2()
 {
   // setup
-  bool test __attribute__((unused)) = true;
   typedef copy_tracker T;
   typedef std::vector<T, tracker_allocator<T> > X;
 
@@ -306,7 +298,6 @@ void
 test_fill_assign_3()
 {
   // setup
-  bool test __attribute__((unused)) = true;
   typedef copy_tracker T;
   typedef std::vector<T, tracker_allocator<T> > X;
 
@@ -341,7 +332,6 @@ void
 test_fill_assign_3_exception_guarantee()
 {
   // setup
-  bool test __attribute__((unused)) = true;
   typedef copy_tracker T;
   typedef std::vector<T, tracker_allocator<T> > X;
 
@@ -386,7 +376,6 @@ void
 test_fill_assign_4()
 {
   // setup
-  bool test __attribute__((unused)) = true;
   typedef copy_tracker T;
   typedef std::vector<T, tracker_allocator<T> > X;
 
@@ -430,7 +419,6 @@ void
 test_range_assign_2()
 {
   // setup
-  bool test __attribute__((unused)) = true;
   typedef copy_tracker T;
   typedef std::vector<T, tracker_allocator<T> > X;
 
@@ -460,7 +448,6 @@ void
 test_range_assign_3()
 {
   // setup
-  bool test __attribute__((unused)) = true;
   typedef copy_tracker T;
   typedef std::vector<T, tracker_allocator<T> > X;
 
@@ -492,7 +479,6 @@ void
 test_range_assign_4()
 {
   // setup
-  bool test __attribute__((unused)) = true;
   typedef copy_tracker T;
   typedef std::vector<T, tracker_allocator<T> > X;
 
@@ -525,7 +511,6 @@ void
 test_range_assign_4_exception_guarantee()
 {
   // setup
-  bool test __attribute__((unused)) = true;
   typedef copy_tracker T;
   typedef std::vector<T, tracker_allocator<T> > X;
 
index 97e385ab0272a61eff45e52bdd9f9e045a0a3e1d..0a5c17e74482e715ee871d74dcec86cc8f306c90 100644 (file)
@@ -25,8 +25,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::vector<__gnu_test::NonCopyConstructible> v(1000);
   VERIFY( std::distance(v.begin(), v.end()) == 1000 );
   for(auto it = v.begin(); it != v.end(); ++it)
index b53aca1708be85eb11771881b2cec5645546dcc2..9dee73f211b8c7c39c166193d57015652bc167ad 100644 (file)
@@ -28,8 +28,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::vector<int> a,b;
   a.push_back(1);
   b = std::move(a);
@@ -42,8 +40,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
-  
   std::vector<bool> a,b;
   a.push_back(1);
   b = std::move(a);
index 4a8dd520a4cc31fbc0ed755119626ca7cb164562..2f7e24b300451a786d2edb75a8e1475f1b74da52 100644 (file)
@@ -22,8 +22,7 @@
 
 // libstdc++/23578
 void test01() 
-{ 
-  bool test __attribute__((unused)) = true;
+{
   typedef std::vector<int> vector_type;
 
   {
index 9ab1f256c6f2f6210b18755a07f081d49ea61e22..62df7135d0dc0c007a5808fdde352d782f6bfec5 100644 (file)
@@ -22,7 +22,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace __gnu_debug;
 
   std::vector<int> v1(3, 1);
@@ -45,7 +44,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   using namespace __gnu_debug;
 
   std::vector<int> v1(3, 1);
index 775b5621f158bdaf1a017e9e00258ddde13f10a5..89f5e7e2ab15513ee58272fbd3bbd6cc61070ddc 100644 (file)
@@ -24,8 +24,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef __gnu_test::propagating_allocator<int, false> alloc_type;
   typedef __gnu_debug::vector<int, alloc_type> test_type;
 
index fe9c4b8aa50ef6fe189438acf5a80d11a194e50a..4722e5d68fdf8c70c0782115b60ed68863c0350d 100644 (file)
@@ -26,8 +26,6 @@ using __gnu_test::uneq_allocator;
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef uneq_allocator<int> alloc_type;
   typedef __gnu_debug::vector<int, alloc_type> test_type;
 
index e45557ed9336668405cc0c27b3ded61fc1665bc5..c9c3909151d5b871283b01692885ef7ffbbccf65 100644 (file)
@@ -46,7 +46,6 @@ get_index(std::vector<int>& v)
 void test01()
 {
   using namespace std;
-  bool test __attribute__((unused)) = true;
   vector<int> v1, v2;
   vector<shared_ptr<vector<int> > > vs;
   vector<int> *pv3 = 0, *pv4 = 0;
index 7f3a308daa2ef5dcdf672eda6011eab0e6948f9b..a9d28c0ae586afdd696147eb6485892926905cd6 100644 (file)
@@ -30,9 +30,8 @@ struct A { };
 struct B { };
 
 // http://gcc.gnu.org/ml/libstdc++/2000-09/msg00002.html
-bool test01()
+void test01()
 {
-  bool test __attribute__((unused)) = true;
   std::vector< A<B> > vec01;
   std::vector< A<B> > vec02(5);
   typedef std::vector< A<B> >::size_type size_type;
@@ -51,7 +50,6 @@ bool test01()
     {
       VERIFY( false );
     }
-  return test;
 }
 
 int main()
index 208043404d451a484299a9c1545dd6ce76d5f32b..b476b50c15b16445e49a3e681813ae1d635709bb 100644 (file)
@@ -27,8 +27,6 @@
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::vector<int, __gnu_cxx::_ExtPtr_allocator<int> > v(7);
   VERIFY( v.cbegin() == v.begin() );
   VERIFY( v.cend() == v.end() );
index f606e90062e1dbde5db8168a83182df99dd24113..d7ba24fafe434f4db61ca8fef086cd9c2b4a4be7 100644 (file)
@@ -24,8 +24,7 @@
 
 // libstdc++/23578
 void test01() 
-{ 
-  bool test __attribute__((unused)) = true;
+{
   typedef std::vector<int, __gnu_cxx::_ExtPtr_allocator<int> > vector_type;
 
   {
index 1f9d69f586ecc0edf32b9efa7980039c5e28d510..74f112766bd735dddd070db25187c4774546b3e1 100644 (file)
@@ -26,8 +26,6 @@
 // General tests element access and manipulation
 void test01() 
 {
-  bool test __attribute__((unused)) = true;
-
   int A[] = { 0, 1, 2, 3, 4 };
   __gnu_cxx::_ExtPtr_allocator<int> alloc;
   std::vector<int,__gnu_cxx::_ExtPtr_allocator<int> > mv( A, A+5, alloc );
index e928ac76535b7bb0925460f25eb1d514d4bd656a..608d62c34dfe6c44f218f320b4469f40bfe2bb66 100644 (file)
@@ -40,8 +40,6 @@ const unsigned int N5 = sizeof(A5) / sizeof(int);
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef std::vector<int,__gnu_cxx::_ExtPtr_allocator<int> >  vec_type;
   typedef vec_type::iterator iterator_type;
 
@@ -80,8 +78,6 @@ test01()
 void
 test02()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef __gnu_cxx::_ExtPtr_allocator<int> int_alloc_type;
   typedef __gnu_cxx::_ExtPtr_allocator< std::vector<int, int_alloc_type> > vec_alloc_type;
   typedef std::vector<std::vector<int, int_alloc_type >,vec_alloc_type>  vec_type; 
index cc82c97b6a3bcc117e28fb77cb46292628f9170b..45a64660bfa84727f2e5fde127233047c04fdb70 100644 (file)
@@ -25,8 +25,6 @@
 
 void test01() 
 { 
-  bool test __attribute__((unused)) = true;
-
   __gnu_cxx::_ExtPtr_allocator<int> alloc;
   std::vector<int, __gnu_cxx::_ExtPtr_allocator<int> > iv(alloc);
   VERIFY( iv.get_allocator() == alloc );
index b59de57cac4efcd61f3e0c87b9ccf4676950f848..889a59633a782930c59e5393fbeca2290653dce5 100644 (file)
@@ -27,8 +27,6 @@
 void test01()
 {
   // non POD types
-  bool test __attribute__((unused)) = true;
-  
   std::vector<int, __gnu_cxx::_ExtPtr_allocator<int> > vec01;
   typedef std::vector<int, __gnu_cxx::_ExtPtr_allocator<int> >::size_type size_type;
 
index 5ead788578381f33cbce7299e1629e3087a30519..cfa35816b6727517318eb29fb53c0115876ee086 100644 (file)
@@ -22,8 +22,6 @@
 #include <vector>
 #include "testsuite_hooks.h"
 
-bool test __attribute__((unused)) = true;
-
 template<typename T>
   struct A { };
 
index 5d3a5518cc9e338fc5666a4cba57c4db326d3650..2417d87250970e8f5f9963b2607e7070ae628b42 100644 (file)
@@ -22,8 +22,6 @@
 #include <vector>
 #include "testsuite_hooks.h"
 
-bool test __attribute__((unused)) = true;
-
 // test the assign() function
 void
 test03()
@@ -33,7 +31,6 @@ test03()
   const int B[] = {K, K, K, K, K};
   const std::size_t N = sizeof(A) / sizeof(int);
   const std::size_t M = sizeof(B) / sizeof(int);
-  bool test __attribute__((unused)) = true;
 
   // assign from pointer range
   std::vector<int> v3;
index 4f7455e7ee5e188e035ae04c8b9294387033c01a..83ed695ae5e1caea2ac67031609474ab6855809c 100644 (file)
@@ -20,8 +20,6 @@
 #include <vector>
 #include "testsuite_hooks.h"
 
-bool test __attribute__((unused)) = true;
-
 void
 test01()
 {
index 285a1b149551488a8dcd64ecefdb0cfd469aa661..21f2865418677408600f43154ae03bda7d53326f 100644 (file)
@@ -38,8 +38,6 @@ const unsigned int N5 = sizeof(A5) / sizeof(int);
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef std::vector<int>   vec_type;
   typedef vec_type::iterator iterator_type;
 
@@ -78,8 +76,6 @@ test01()
 void
 test02()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef std::vector<std::vector<int> >   vec_type;
   typedef vec_type::iterator          iterator_type;
 
index 33e360708ee7ff165750a257a5d2f9d6c656d444..e28f8061784ef35562b389d9c71575add1d1798e 100644 (file)
@@ -27,7 +27,6 @@
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace __gnu_test;
 
   std::vector<copycounter> a(40);
index ebc80c88ae3b1e024aae05debcb897961cce66fd..5743a64f05ea99033ac9e476ba6db53305a74ca3 100644 (file)
@@ -23,7 +23,6 @@
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   vector<int> iv;
index 08e01e777bddccc39986b1be97e50900ba7f24f5..d6aa8105a200bba575431e5764ea2b396c3545b3 100644 (file)
@@ -21,8 +21,6 @@
 
 #include "testsuite_hooks.h"
 
-bool test __attribute__((unused)) = true;
-
 void test01()
 {
   std::vector<std::vector<int>> vv =
index 1d79b3e2feceb74d2eddcca3b0d3d8b920ec75f9..9c11c27a3a11a6920ff7baa2675b053aff5294e0 100644 (file)
@@ -28,8 +28,6 @@ using namespace __gnu_test;
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::vector<copycounter> a;
   copycounter c(1);
   copycounter::copycount = 0;
@@ -51,8 +49,6 @@ test01()
 void
 test02()
 {
-  bool test __attribute__((unused)) = true;
-
   copycounter c(1);
   std::vector<copycounter> a(10, c), b(100, c);
   copycounter::copycount = 0;
@@ -69,8 +65,6 @@ test02()
 void
 test03()
 {
-  bool test __attribute__((unused)) = true;
-  
   copycounter c(1);
   std::vector<copycounter> a(10, c), b(100, c);
   copycounter::copycount = 0;
@@ -89,8 +83,6 @@ test03()
 void
 test04()
 {
-  bool test __attribute__((unused)) = true;
-
   copycounter c(1);
   std::vector<copycounter> a(10, c);
   copycounter::copycount = 0;
@@ -107,8 +99,6 @@ test04()
 void
 test05()
 {
-  bool test __attribute__((unused)) = true;
-
   copycounter c(1);
   std::vector<copycounter> a(10, c);
   copycounter::copycount = 0;
index 12ae0dbe61446ab83c3e6c3ac9ca5dc2f94c74d2..344dcd6ccc2a89561c0569445f3be2866a778c34 100644 (file)
@@ -26,7 +26,6 @@
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace __gnu_test;
 
   std::vector<throwing_move_constructor> v1;
index b80e679175330f2e3217f3c8c13ce4881f135eea..1bc3ab73805a9d26ac7511945f90cd0b055f3f83 100644 (file)
@@ -24,7 +24,6 @@
 // libstdc++/49836
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   using __gnu_test::CopyConsOnlyType;
   using __gnu_test::MoveConsOnlyType;
 
index b0c9d7cb8bb2f8a6ffb79a25ff1d09e6d2635f59..e77efb6358fe9c7d0b84005c438206c5ba31f537 100644 (file)
@@ -33,7 +33,6 @@ namespace std
 // Should use vector specialization for swap.
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   std::vector<T> A;
   std::vector<T> B;
   swap_calls = 0;
@@ -44,7 +43,6 @@ void test01()
 // Should use vector specialization for swap.
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
   vector<T> A;
   vector<T> B;
index 091952d76c09a54e9cf534119b2fed1c7508bdd6..5a753c6397cfe51683b7e5e6e16e9f75d63d1280 100644 (file)
@@ -27,7 +27,6 @@
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   typedef __gnu_test::uneq_allocator<char> my_alloc;
index 6d5ea98890b3a49a9424af1f4ad2d9e385b06e34..61348af8a59781d35ad8892094785ab80f3e2e14 100644 (file)
@@ -27,7 +27,6 @@
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std;
 
   typedef __gnu_test::uneq_allocator<char> my_alloc;
index 74fa95cc841c383fe47124712e1eeece600ab6d5..272caf3c793f799eb5eebd59f72cd75be518d69d 100644 (file)
@@ -56,8 +56,6 @@ void operator delete(void *ptr, std::size_t) throw()
 // http://gcc.gnu.org/ml/libstdc++/2007-09/msg00006.html
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::vector<std::vector<int> > *v;
   VERIFY( zero_sized_news == 0 );