Add missing dg-require-cstdint directives to tests
authorJonathan Wakely <jwakely@redhat.com>
Thu, 26 Jul 2018 14:03:28 +0000 (15:03 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 26 Jul 2018 14:03:28 +0000 (15:03 +0100)
* testsuite/18_support/aligned_alloc/aligned_alloc.cc: Add
dg-require-cstdint directive.
* testsuite/20_util/allocator/overaligned.cc: Likewise.
* testsuite/20_util/any/cons/aligned.cc: Likewise.
* testsuite/20_util/monotonic_buffer_resource/allocate.cc: Likewise.
* testsuite/20_util/monotonic_buffer_resource/deallocate.cc: Likewise.
* testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc:
Likewise.
* testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Likewise.
* testsuite/23_containers/list/modifiers/insert/25288.cc: Likewise.
* testsuite/23_containers/set/allocator/move_assign.cc: Likewise.
* testsuite/25_algorithms/make_heap/complexity.cc: Likewise.
* testsuite/25_algorithms/pop_heap/complexity.cc: Require cstdint and
random_device effective-target.
* testsuite/25_algorithms/push_heap/complexity.cc: Likewise.
* testsuite/25_algorithms/sample/1.cc: Require cstdint.
* testsuite/25_algorithms/sample/2.cc: Likewise.
* testsuite/25_algorithms/sort_heap/complexity.cc: Require cstdint
and random_device.
* testsuite/26_numerics/headers/random/types_std_c++0x.cc: Require
cstdint.
* testsuite/26_numerics/random/chi_squared_distribution/83833.cc:
Likewise.
* testsuite/26_numerics/random/discard_block_engine/requirements/
constexpr_data.cc: Likewise.
* testsuite/26_numerics/random/discard_block_engine/requirements/
constexpr_functions.cc: Likewise.
* testsuite/26_numerics/random/independent_bits_engine/requirements/
constexpr_functions.cc: Likewise.
* testsuite/26_numerics/random/linear_congruential_engine/requirements/
constexpr_data.cc: Likewise.
* testsuite/26_numerics/random/linear_congruential_engine/requirements/
constexpr_functions.cc: Likewise.
* testsuite/26_numerics/random/mersenne_twister_engine/requirements/
constexpr_data.cc: Likewise.
* testsuite/26_numerics/random/mersenne_twister_engine/requirements/
constexpr_functions.cc: Likewise.
* testsuite/26_numerics/random/pr60037-neg.cc: Likewise.
* testsuite/26_numerics/random/seed_seq/cons/65631.cc: Likewise.
* testsuite/26_numerics/random/shuffle_order_engine/requirements/
constexpr_data.cc: Add dg-require-cstdint directive.
* testsuite/26_numerics/random/shuffle_order_engine/requirements/
constexpr_functions.cc: Likewise.
* testsuite/26_numerics/random/subtract_with_carry_engine/requirements/
constexpr_data.cc: Likewise.
* testsuite/26_numerics/random/subtract_with_carry_engine/requirements/
constexpr_functions.cc: Likewise.
* testsuite/26_numerics/random/uniform_real_distribution/operators/
64351.cc: Likewise.
* testsuite/29_atomics/headers/atomic/types_std_c++0x.cc: Likewise.
* testsuite/experimental/algorithm/sample-2.cc: Likewise.
* testsuite/experimental/algorithm/sample.cc: Likewise.
* testsuite/experimental/algorithm/search.cc: Likewise.
* testsuite/experimental/algorithm/shuffle.cc: Likewise.
* testsuite/experimental/any/cons/aligned.cc: Likewise.
* testsuite/experimental/memory_resource/new_delete_resource.cc:
Likewise.
* testsuite/experimental/memory_resource/resource_adaptor.cc: Likewise.
* testsuite/experimental/random/randint.cc: Likewise.
* testsuite/experimental/source_location/1.cc: Likewise.
* testsuite/ext/bitmap_allocator/overaligned.cc: Likewise.
* testsuite/ext/malloc_allocator/overaligned.cc: Likewise.
* testsuite/ext/mt_allocator/overaligned.cc: Likewise.
* testsuite/ext/new_allocator/overaligned.cc: Likewise.
* testsuite/ext/pb_ds/regression/hash_map_rand.cc: Likewise.
* testsuite/ext/pb_ds/regression/hash_set_rand.cc: Likewise.
* testsuite/ext/pb_ds/regression/list_update_map_rand.cc: Likewise.
* testsuite/ext/pb_ds/regression/list_update_set_rand.cc: Likewise.
* testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Likewise.
* testsuite/ext/pb_ds/regression/tree_map_rand.cc: Likewise.
* testsuite/ext/pb_ds/regression/tree_set_rand.cc: Likewise.
* testsuite/ext/pb_ds/regression/trie_map_rand.cc: Likewise.
* testsuite/ext/pb_ds/regression/trie_set_rand.cc: Likewise.
* testsuite/ext/pool_allocator/overaligned.cc: Likewise.
* testsuite/ext/throw_allocator/check_allocate_max_size.cc: Likewise.
* testsuite/ext/throw_allocator/check_deallocate_null.cc: Likewise.
* testsuite/ext/throw_allocator/check_delete.cc: Likewise.
* testsuite/ext/throw_allocator/check_new.cc: Likewise.
* testsuite/ext/throw_allocator/deallocate_global.cc: Likewise.
* testsuite/ext/throw_allocator/deallocate_local.cc: Likewise.
* testsuite/ext/throw_allocator/explicit_instantiation.cc: Likewise.
* testsuite/ext/throw_allocator/variadic_construct.cc: Likewise.
* testsuite/tr1/8_c_compatibility/cinttypes/functions.cc: Likewise.

From-SVN: r263008

65 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/18_support/aligned_alloc/aligned_alloc.cc
libstdc++-v3/testsuite/20_util/allocator/overaligned.cc
libstdc++-v3/testsuite/20_util/any/cons/aligned.cc
libstdc++-v3/testsuite/20_util/monotonic_buffer_resource/allocate.cc
libstdc++-v3/testsuite/20_util/monotonic_buffer_resource/deallocate.cc
libstdc++-v3/testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc
libstdc++-v3/testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc
libstdc++-v3/testsuite/23_containers/list/modifiers/insert/25288.cc
libstdc++-v3/testsuite/23_containers/set/allocator/move_assign.cc
libstdc++-v3/testsuite/25_algorithms/make_heap/complexity.cc
libstdc++-v3/testsuite/25_algorithms/pop_heap/complexity.cc
libstdc++-v3/testsuite/25_algorithms/push_heap/complexity.cc
libstdc++-v3/testsuite/25_algorithms/sample/1.cc
libstdc++-v3/testsuite/25_algorithms/sample/2.cc
libstdc++-v3/testsuite/25_algorithms/sort_heap/complexity.cc
libstdc++-v3/testsuite/26_numerics/headers/random/types_std_c++0x.cc
libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/83833.cc
libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/requirements/constexpr_data.cc
libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/requirements/constexpr_functions.cc
libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/requirements/constexpr_functions.cc
libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/requirements/constexpr_data.cc
libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/requirements/constexpr_functions.cc
libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/requirements/constexpr_data.cc
libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/requirements/constexpr_functions.cc
libstdc++-v3/testsuite/26_numerics/random/pr60037-neg.cc
libstdc++-v3/testsuite/26_numerics/random/seed_seq/cons/65631.cc
libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/requirements/constexpr_data.cc
libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/requirements/constexpr_functions.cc
libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/requirements/constexpr_data.cc
libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/requirements/constexpr_functions.cc
libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/operators/64351.cc
libstdc++-v3/testsuite/29_atomics/headers/atomic/types_std_c++0x.cc
libstdc++-v3/testsuite/experimental/algorithm/sample-2.cc
libstdc++-v3/testsuite/experimental/algorithm/sample.cc
libstdc++-v3/testsuite/experimental/algorithm/search.cc
libstdc++-v3/testsuite/experimental/algorithm/shuffle.cc
libstdc++-v3/testsuite/experimental/any/cons/aligned.cc
libstdc++-v3/testsuite/experimental/memory_resource/new_delete_resource.cc
libstdc++-v3/testsuite/experimental/memory_resource/resource_adaptor.cc
libstdc++-v3/testsuite/experimental/random/randint.cc
libstdc++-v3/testsuite/experimental/source_location/1.cc
libstdc++-v3/testsuite/ext/bitmap_allocator/overaligned.cc
libstdc++-v3/testsuite/ext/malloc_allocator/overaligned.cc
libstdc++-v3/testsuite/ext/mt_allocator/overaligned.cc
libstdc++-v3/testsuite/ext/new_allocator/overaligned.cc
libstdc++-v3/testsuite/ext/pb_ds/regression/hash_map_rand.cc
libstdc++-v3/testsuite/ext/pb_ds/regression/hash_set_rand.cc
libstdc++-v3/testsuite/ext/pb_ds/regression/list_update_map_rand.cc
libstdc++-v3/testsuite/ext/pb_ds/regression/list_update_set_rand.cc
libstdc++-v3/testsuite/ext/pb_ds/regression/priority_queue_rand.cc
libstdc++-v3/testsuite/ext/pb_ds/regression/tree_map_rand.cc
libstdc++-v3/testsuite/ext/pb_ds/regression/tree_set_rand.cc
libstdc++-v3/testsuite/ext/pb_ds/regression/trie_map_rand.cc
libstdc++-v3/testsuite/ext/pb_ds/regression/trie_set_rand.cc
libstdc++-v3/testsuite/ext/pool_allocator/overaligned.cc
libstdc++-v3/testsuite/ext/throw_allocator/check_allocate_max_size.cc
libstdc++-v3/testsuite/ext/throw_allocator/check_deallocate_null.cc
libstdc++-v3/testsuite/ext/throw_allocator/check_delete.cc
libstdc++-v3/testsuite/ext/throw_allocator/check_new.cc
libstdc++-v3/testsuite/ext/throw_allocator/deallocate_global.cc
libstdc++-v3/testsuite/ext/throw_allocator/deallocate_local.cc
libstdc++-v3/testsuite/ext/throw_allocator/explicit_instantiation.cc
libstdc++-v3/testsuite/ext/throw_allocator/variadic_construct.cc
libstdc++-v3/testsuite/tr1/8_c_compatibility/cinttypes/functions.cc

index 225b4bec625f1f6fce9f2bfa2c095e5019119b65..666d49721cad0ce0b9cafd8d80ff1b2107a39f71 100644 (file)
@@ -1,5 +1,89 @@
 2018-07-26  Jonathan Wakely  <jwakely@redhat.com>
 
+       * testsuite/18_support/aligned_alloc/aligned_alloc.cc: Add
+       dg-require-cstdint directive.
+       * testsuite/20_util/allocator/overaligned.cc: Likewise.
+       * testsuite/20_util/any/cons/aligned.cc: Likewise.
+       * testsuite/20_util/monotonic_buffer_resource/allocate.cc: Likewise.
+       * testsuite/20_util/monotonic_buffer_resource/deallocate.cc: Likewise.
+       * testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc:
+       Likewise.
+       * testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Likewise.
+       * testsuite/23_containers/list/modifiers/insert/25288.cc: Likewise.
+       * testsuite/23_containers/set/allocator/move_assign.cc: Likewise.
+       * testsuite/25_algorithms/make_heap/complexity.cc: Likewise.
+       * testsuite/25_algorithms/pop_heap/complexity.cc: Require cstdint and
+       random_device effective-target.
+       * testsuite/25_algorithms/push_heap/complexity.cc: Likewise.
+       * testsuite/25_algorithms/sample/1.cc: Require cstdint.
+       * testsuite/25_algorithms/sample/2.cc: Likewise.
+       * testsuite/25_algorithms/sort_heap/complexity.cc: Require cstdint
+       and random_device.
+       * testsuite/26_numerics/headers/random/types_std_c++0x.cc: Require
+       cstdint.
+       * testsuite/26_numerics/random/chi_squared_distribution/83833.cc:
+       Likewise.
+       * testsuite/26_numerics/random/discard_block_engine/requirements/
+       constexpr_data.cc: Likewise.
+       * testsuite/26_numerics/random/discard_block_engine/requirements/
+       constexpr_functions.cc: Likewise.
+       * testsuite/26_numerics/random/independent_bits_engine/requirements/
+       constexpr_functions.cc: Likewise.
+       * testsuite/26_numerics/random/linear_congruential_engine/requirements/
+       constexpr_data.cc: Likewise.
+       * testsuite/26_numerics/random/linear_congruential_engine/requirements/
+       constexpr_functions.cc: Likewise.
+       * testsuite/26_numerics/random/mersenne_twister_engine/requirements/
+       constexpr_data.cc: Likewise.
+       * testsuite/26_numerics/random/mersenne_twister_engine/requirements/
+       constexpr_functions.cc: Likewise.
+       * testsuite/26_numerics/random/pr60037-neg.cc: Likewise.
+       * testsuite/26_numerics/random/seed_seq/cons/65631.cc: Likewise.
+       * testsuite/26_numerics/random/shuffle_order_engine/requirements/
+       constexpr_data.cc: Add dg-require-cstdint directive.
+       * testsuite/26_numerics/random/shuffle_order_engine/requirements/
+       constexpr_functions.cc: Likewise.
+       * testsuite/26_numerics/random/subtract_with_carry_engine/requirements/
+       constexpr_data.cc: Likewise.
+       * testsuite/26_numerics/random/subtract_with_carry_engine/requirements/
+       constexpr_functions.cc: Likewise.
+       * testsuite/26_numerics/random/uniform_real_distribution/operators/
+       64351.cc: Likewise.
+       * testsuite/29_atomics/headers/atomic/types_std_c++0x.cc: Likewise.
+       * testsuite/experimental/algorithm/sample-2.cc: Likewise.
+       * testsuite/experimental/algorithm/sample.cc: Likewise.
+       * testsuite/experimental/algorithm/search.cc: Likewise.
+       * testsuite/experimental/algorithm/shuffle.cc: Likewise.
+       * testsuite/experimental/any/cons/aligned.cc: Likewise.
+       * testsuite/experimental/memory_resource/new_delete_resource.cc:
+       Likewise.
+       * testsuite/experimental/memory_resource/resource_adaptor.cc: Likewise.
+       * testsuite/experimental/random/randint.cc: Likewise.
+       * testsuite/experimental/source_location/1.cc: Likewise.
+       * testsuite/ext/bitmap_allocator/overaligned.cc: Likewise.
+       * testsuite/ext/malloc_allocator/overaligned.cc: Likewise.
+       * testsuite/ext/mt_allocator/overaligned.cc: Likewise.
+       * testsuite/ext/new_allocator/overaligned.cc: Likewise.
+       * testsuite/ext/pb_ds/regression/hash_map_rand.cc: Likewise.
+       * testsuite/ext/pb_ds/regression/hash_set_rand.cc: Likewise.
+       * testsuite/ext/pb_ds/regression/list_update_map_rand.cc: Likewise.
+       * testsuite/ext/pb_ds/regression/list_update_set_rand.cc: Likewise.
+       * testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Likewise.
+       * testsuite/ext/pb_ds/regression/tree_map_rand.cc: Likewise.
+       * testsuite/ext/pb_ds/regression/tree_set_rand.cc: Likewise.
+       * testsuite/ext/pb_ds/regression/trie_map_rand.cc: Likewise.
+       * testsuite/ext/pb_ds/regression/trie_set_rand.cc: Likewise.
+       * testsuite/ext/pool_allocator/overaligned.cc: Likewise.
+       * testsuite/ext/throw_allocator/check_allocate_max_size.cc: Likewise.
+       * testsuite/ext/throw_allocator/check_deallocate_null.cc: Likewise.
+       * testsuite/ext/throw_allocator/check_delete.cc: Likewise.
+       * testsuite/ext/throw_allocator/check_new.cc: Likewise.
+       * testsuite/ext/throw_allocator/deallocate_global.cc: Likewise.
+       * testsuite/ext/throw_allocator/deallocate_local.cc: Likewise.
+       * testsuite/ext/throw_allocator/explicit_instantiation.cc: Likewise.
+       * testsuite/ext/throw_allocator/variadic_construct.cc: Likewise.
+       * testsuite/tr1/8_c_compatibility/cinttypes/functions.cc: Likewise.
+
        * testsuite/30_threads/recursive_mutex/cons/1.cc: Likewise.
        * testsuite/30_threads/recursive_mutex/cons/assign_neg.cc: Likewise.
        * testsuite/30_threads/recursive_mutex/cons/copy_neg.cc: Likewise.
index 8af9c723ad175a6ffef1ed7bb976cd13f5084912..204735ce7107dbb675ca8fc1f6ff494deeec51ff 100644 (file)
@@ -17,6 +17,7 @@
 
 // { dg-options "-std=gnu++17" }
 // { dg-do run { target c++17 } }
+// { dg-require-cstdint "" }
 
 #include <cstdlib>
 #include <cstdint>
index 288777ab78e64977a192bbb8b54e6564dae3e29f..62c07ea821174954460e218b0771acca32819cb9 100644 (file)
@@ -17,6 +17,7 @@
 
 // { dg-options "-faligned-new" }
 // { dg-do run { target c++11 } }
+// { dg-require-cstdint "" }
 
 #include <memory>
 #include <cstddef>
index 15420ada2e965145b8849ca8d94ac2a5ca0497b0..317cda6c6534a9412905941516d7308a2146e617 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-options "-std=gnu++17" }
+// { dg-require-cstdint "" }
 
 #include <any>
 #include <cstdint>
index d1c2715ef8dfdf021387a615f45aebc0e7d308b8..412150944cd9a52cc84a4eeec99e377a283a4edb 100644 (file)
@@ -17,6 +17,7 @@
 
 // { dg-options "-std=gnu++17" }
 // { dg-do run { target c++17 } }
+// { dg-require-cstdint "" }
 
 #include <memory_resource>
 #include <testsuite_allocator.h>
index 427256d672af0f60558b59776fcc3a5d56eb5127..db835935079bf8a7cc1627aff7ca2ed7450d4e8e 100644 (file)
@@ -17,6 +17,7 @@
 
 // { dg-options "-std=gnu++17" }
 // { dg-do run { target c++17 } }
+// { dg-require-cstdint "" }
 
 #include <memory_resource>
 #include <testsuite_allocator.h>
index 60eb4d48b1daa71acd196b70d156f60e126ba215..fea0823555b0027bf7ca13daf1605876154ad212 100644 (file)
@@ -21,6 +21,7 @@
 // { dg-options "-pthread"  }
 // { dg-require-effective-target c++11 }
 // { dg-require-effective-target pthread }
+// { dg-require-cstdint "" }
 
 #include <memory>
 #include <random>
index c7ff4651366f7463749d12cc23d6ae11f1ebd55d..b2f7aba0ce7922e8d69749d8de993dd37a8f6af1 100644 (file)
@@ -21,6 +21,7 @@
 // { dg-options "-pthread"  }
 // { dg-require-effective-target c++11 }
 // { dg-require-effective-target pthread }
+// { dg-require-cstdint "" }
 
 #include <memory>
 #include <random>
index c4ea585a22d80e183aeb74bee2159a71d300867f..3636c684170640878517a42f507920eb9a522f30 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-require-time "" }
+// { dg-require-cstdint "" }
 
 // Copyright (C) 2005-2018 Free Software Foundation, Inc.
 //
index 7548c9e075381212591b8d86bb753c0f5787d54c..0f2694ef8500c5b730363fdd01b9d22e40eee6dc 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-do run { target c++11 } }
+// { dg-require-cstdint "" }
 
 #include <set>
 #include <random>
index 069d2d0433d1d9e56012c4f85ed0eec50012680b..a0e30c7d6e03c45cb0ff84a821ac0d08927d8fbe 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-do run { target c++11 } }
+// { dg-require-cstdint "" }
 // { dg-require-effective-target random_device }
 
 #include <random>
index 62f9f756c63c30c9bea3549f87a0dce71d7c6e1c..240293654d1998c1718b5d50599a0f1df2794aa9 100644 (file)
@@ -18,6 +18,8 @@
 // { dg-do run { target c++11 } }
 // { dg-require-normal-mode "" }
 // { dg-require-cmath "" }
+// { dg-require-cstdint "" }
+// { dg-require-effective-target random_device }
 
 #include <cmath>
 #include <random>
index e5fd09e8cdf226a66ae4c8bc89e4d2778eb410cd..cb226eaa596a2c76bdef15f85099bd3dd54c29be 100644 (file)
@@ -18,6 +18,8 @@
 // { dg-do run { target c++11 } }
 // { dg-require-normal-mode "" }
 // { dg-require-cmath "" }
+// { dg-require-cstdint "" }
+// { dg-require-effective-target random_device }
 
 #include <cmath>
 #include <random>
index 154e3619451776ae1dcc272a67cab43f18f46667..98bab7950c952e01aae5ec7c27e9763d42f84190 100644 (file)
@@ -17,6 +17,7 @@
 
 // { dg-options "-std=gnu++17" }
 // { dg-do run { target c++17 } }
+// { dg-require-cstdint "" }
 
 #include <algorithm>
 #include <random>
index bfdcce1e587049b705b2ae68a0b6bf2ac4699609..2cc715a34c2f6fa1b8638a52e25e5bbaf53ccdd0 100644 (file)
@@ -17,6 +17,7 @@
 
 // { dg-options "-std=gnu++17" }
 // { dg-do run { target c++17 } }
+// { dg-require-cstdint "" }
 
 #ifndef _GLIBCXX_ASSERTIONS
 // Make std::uniform_int_distribution check its parameters
index acf39ba138147047c53498ef34d051cb9f2ff664..b3ef55ef32332b044501439d747d0803d00905d8 100644 (file)
@@ -17,6 +17,8 @@
 
 // { dg-do run { target c++11 } }
 // { dg-require-cmath "" }
+// { dg-require-cstdint "" }
+// { dg-require-effective-target random_device }
 
 #include <cmath>
 #include <random>
index bfb6054c584b49d1daa9998dbb97905e5032b5ec..176f818ef809144813d84b96ed7954a5c3d99c9f 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-do compile { target c++11 } }
+// { dg-require-cstdint "" }
 
 // Copyright (C) 2007-2018 Free Software Foundation, Inc.
 //
index 821a1a40e2a274d53923f2e82f234fe823890849..1f2849b89a9baf6c953eebe1560b3253f0aa0be5 100644 (file)
@@ -17,6 +17,7 @@
 
 // { dg-do run { target c++11 } }
 // { dg-additional-options "-ffloat-store" { target { m68*-*-* || ia32 } } }
+// { dg-require-cstdint "" }
 
 #include <random>
 #include <testsuite_hooks.h>
index 67ac8bc8973a346157404875067d0e61e727329f..7cc9169e49d06a80e3773ae8ba0a71908a9b4188 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-do compile { target c++11 } }
+// { dg-require-cstdint "" }
 
 // Copyright (C) 2010-2018 Free Software Foundation, Inc.
 //
index f19df5f91ec849c17e09d6447f1c5459b7606707..1d7876f05d99c1a34ef300be9b3f884789771d48 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-do compile { target c++11 } }
+// { dg-require-cstdint "" }
 
 // Copyright (C) 2010-2018 Free Software Foundation, Inc.
 //
index e0ed847655e4a9264809f00ff28be2af2eebf752..479927269c2c3f8d0fa0e876710967b1d4068891 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-do compile { target c++11 } }
+// { dg-require-cstdint "" }
 
 // Copyright (C) 2010-2018 Free Software Foundation, Inc.
 //
index b6e2bfd95d6b7ddd05a3d870f5fa3a2317ded98a..4afb406640ee7840e171ddc84215fb6ebc3f020e 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-do compile { target c++11 } }
+// { dg-require-cstdint "" }
 
 // Copyright (C) 2010-2018 Free Software Foundation, Inc.
 //
index 7dfdb800a7339c33bfdc31af191da79061ebe0b5..99a60b4b4cdd0f9dd5806cac4a7d0a4b6968873a 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-do compile { target c++11 } }
+// { dg-require-cstdint "" }
 
 // Copyright (C) 2010-2018 Free Software Foundation, Inc.
 //
index d391d0c3967f78d68eb820aebd74a3571875a4c1..19105af3b7e91b073450f69b01d9ebca382f3752 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-do compile { target c++11 } }
+// { dg-require-cstdint "" }
 
 // Copyright (C) 2010-2018 Free Software Foundation, Inc.
 //
index 1785297b5c2499e38f8743250e4be0e174f13db0..768c1ac2851c59ea4dad1f6cff421f49faeae226 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-do compile { target c++11 } }
+// { dg-require-cstdint "" }
 
 // Copyright (C) 2010-2018 Free Software Foundation, Inc.
 //
index 1ead99cffc47595b7adb44178c92574fae71ea14..f365337e789ccc7e5827c8ca1aa354df30d11367 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-do compile { target c++11 } }
+// { dg-require-cstdint "" }
 
 #include <random>
 
index 23d0207be23c7834e7c52a0a0ae2f71e2fbe0439..75db6303aeab1ae090f90cc0867f19d896cfe9da 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-do compile { target c++11 } }
+// { dg-require-cstdint "" }
 
 #include <random>
 #include <type_traits>
index ac59a748c9ba3bd5f503235bcde9886b159ad12a..0ad481519c98e11ebf9e464a35e03e553da9503c 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-do compile { target c++11 } }
+// { dg-require-cstdint "" }
 
 // Copyright (C) 2010-2018 Free Software Foundation, Inc.
 //
index 078137b2fdce24a005b5f630519b7006f8ed39b9..c6081f8732134c96148be7a7efa8fd92856a280f 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-do compile { target c++11 } }
+// { dg-require-cstdint "" }
 
 // Copyright (C) 2010-2018 Free Software Foundation, Inc.
 //
index 2f990d2bb00f4cfa70cbd04d1258e316c1e88e7d..0e8d0037a637907631c3755e03f9b94162d22b1e 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-do compile { target c++11 } }
+// { dg-require-cstdint "" }
 
 // Copyright (C) 2010-2018 Free Software Foundation, Inc.
 //
index 982f824d08ac5744c71ce65b6af0c11d5106287c..92d00ac5edfbe8de3a9aa7addef3caa4ec8febe3 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-do compile { target c++11 } }
+// { dg-require-cstdint "" }
 
 // Copyright (C) 2010-2018 Free Software Foundation, Inc.
 //
index 11c1b9e032e6f099a5aac117b490834216373e53..4420e12b440277c5a5984d6b43c58f307220acdd 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-do run { target { c++11 && { ! simulator } } } }
+// { dg-require-cstdint "" }
 
 #include <random>
 #include <testsuite_hooks.h>
index 7b10159ee9f1f030301bf357fa610b1d3e600527..58c19d699681830fbd1b8def268a7f603a13d843 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-do compile { target c++11 } }
+// { dg-require-cstdint "" }
 
 // Copyright (C) 2008-2018 Free Software Foundation, Inc.
 //
index ef3f7daa14ca75aceac3fab2ffe168d6866479c1..a7e311e84f93cd90b53bd3d9e31cf7940f481e14 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-do run { target c++14 } }
+// { dg-require-cstdint "" }
 // { dg-require-effective-target random_device }
 // { dg-require-effective-target tls_runtime }
 // { dg-add-options tls }
index b2373706f04c30e2a3820ef58e18613b492e2618..0b9a3a4bf89dd77e095e2c1d0807a3bdb4335992 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-do run { target c++14 } }
+// { dg-require-cstdint "" }
 
 #include <experimental/algorithm>
 #include <random>
index 10aecd534a6568f668df61be6e19348462318887..4e64bcd53de2f48dd92c65a1fd94d35c8c700f87 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-do run { target c++14 } }
+// { dg-require-cstdint "" }
 
 #include <experimental/algorithm>
 #include <testsuite_hooks.h>
index db958f600d4bd2b7f7beb3dbbcdb05b3e5c96e35..a074255d19a22f11ee9663630a5f7e3673d1e7ef 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-do run { target c++14 } }
+// { dg-require-cstdint "" }
 // { dg-require-effective-target random_device }
 // { dg-require-effective-target tls_runtime }
 // { dg-add-options tls }
index 80aeefa7ee86fb36e5816bfba18460a76610dfff..f761be9e6b9b5280f349e7b45cb9bb9b0e9d4bd1 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-do run { target c++14 } }
+// { dg-require-cstdint "" }
 
 #include <experimental/any>
 #include <cstdint>
index 4c6d894829d927135d4bc9096b353a932436f781..11667b1d138f0450e05c127966f8a0f12fcb0b66 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-do run { target c++14 } }
+// { dg-require-cstdint "" }
 // { dg-xfail-run-if "PR libstdc++/77691" { { i?86-*-solaris2.* x86_64-*-solaris2.* } && ilp32 } }
 
 #include <experimental/memory_resource>
index 46cb113da7b9d6e0ec701c7ee74259267c4ccc65..53c176a2870be75a2df12b2f1f527bb973b88575 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-do run { target c++14 } }
+// { dg-require-cstdint "" }
 // { dg-xfail-run-if "PR libstdc++/77691" { { i?86-*-solaris2.* x86_64-*-solaris2.* } && ilp32 } }
 
 // Copyright (C) 2016-2018 Free Software Foundation, Inc.
index 90ba72ac2fc54742f06a68fa2c077ac1f23caeba..54ad371f38a28519084f69ddf6728a02d26881e6 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-do run { target c++14 } }
+// { dg-require-cstdint "" }
 // { dg-require-effective-target random_device }
 // { dg-require-effective-target tls_runtime }
 // { dg-add-options tls }
index a57669c31175b0d0d3b138aa0551ab9ee44659f8..8bc62ddc6b25b6e68d4a92a82ddcccac106741d2 100644 (file)
@@ -16,6 +16,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-do run { target c++14 } }
+// { dg-require-cstdint "" }
 
 #include <experimental/source_location>
 #include <experimental/string_view>
@@ -28,7 +29,7 @@ void
 test01()
 {
   constexpr source_location loc = source_location::current();
-  static_assert( loc.line() == 30 );
+  static_assert( loc.line() == 31 );
   // static_assert( loc.column() == 35 );
   VERIFY( loc.file_name() == __FILE__ );
   VERIFY( loc.function_name() == string_view(__FUNCTION__) );
@@ -50,13 +51,13 @@ struct S {
 void test02()
 {
   S s0;
-  VERIFY( s0.loc.line() == 52 );
+  VERIFY( s0.loc.line() == 53 );
   // static_assert( s0.loc.column() == 7 );
   VERIFY( s0.loc.file_name() == __FILE__ );
   VERIFY( s0.loc.function_name() == string_view(__FUNCTION__) );
 
   S s1(1);
-  VERIFY( s1.loc.line() == 46 );
+  VERIFY( s1.loc.line() == 47 );
   VERIFY( s1.loc.file_name() == __FILE__ );
   VERIFY( s1.loc.function_name() == s1.func );
 }
@@ -74,21 +75,21 @@ source_location g(string_view& func) {
 void test03()
 {
   auto loc = f(); // f's first argument corresponds to this line of code
-  VERIFY( loc.line() == 76 );
+  VERIFY( loc.line() == 77 );
   // static_assert( loc.column() == 16 );
   VERIFY( loc.file_name() == __FILE__ );
   VERIFY( loc.function_name() == string_view(__FUNCTION__) );
 
   source_location c = source_location::current();
   loc = f(c); // f's first argument gets the same values as c, above
-  VERIFY( loc.line() == 82 );
+  VERIFY( loc.line() == 83 );
   // static_assert( loc.column() == 23 );
   VERIFY( loc.file_name() == __FILE__ );
   VERIFY( loc.function_name() == string_view(__FUNCTION__) );
 
   string_view func;
   loc = g(func);
-  VERIFY( loc.line() == 69 );
+  VERIFY( loc.line() == 70 );
   // static_assert( loc.column() == 23 );
   VERIFY( loc.file_name() == __FILE__ );
   VERIFY( loc.function_name() == func );
index 45a4e6f6cf8166a8087c44d986943597b0bdcd2a..faa9cd5390772e29f0c603438299fc448ec91de6 100644 (file)
@@ -17,6 +17,7 @@
 
 // { dg-options "-faligned-new" }
 // { dg-do run { target c++11 } }
+// { dg-require-cstdint "" }
 
 #include <ext/bitmap_allocator.h>
 #include <cstddef>
index 3a86c57b8a79dc62fc162c27a329cf3841438fba..701c9ae87c1c4e7e28526ad11d38a135a828f88c 100644 (file)
@@ -17,6 +17,7 @@
 
 // { dg-options "-faligned-new" }
 // { dg-do run { target c++11 } }
+// { dg-require-cstdint "" }
 
 #include <ext/malloc_allocator.h>
 #include <cstddef>
index 6d1eb1bacd2c5b009c28256d673aed712a357064..468bf3904522bc6df1784706ef06888d2696af59 100644 (file)
@@ -17,6 +17,7 @@
 
 // { dg-options "-faligned-new" }
 // { dg-do run { target c++11 } }
+// { dg-require-cstdint "" }
 
 #include <ext/mt_allocator.h>
 #include <cstddef>
index 4bf8abb7cf911311be47ea818789bccd36d36f84..896cc016ad2dd898c14404e23e8796e63c2feb58 100644 (file)
@@ -17,6 +17,7 @@
 
 // { dg-options "-faligned-new" }
 // { dg-do run { target c++11 } }
+// { dg-require-cstdint "" }
 
 #include <ext/new_allocator.h>
 #include <cstddef>
index 9a6cbb68d6be325c5f4b62f2bf0473223a96cd54..d2e687f404d544821c7df2b587d10aaa1e562c9a 100644 (file)
@@ -1,6 +1,7 @@
 // __gnu_pbds::test::basic_type has ambiguous string conversions in C++17
 // { dg-do run { target { ! c++17 } } }
 // { dg-require-time "" }
+// { dg-require-cstdint "" }
 // This can take long on simulators, timing out the test.
 // { dg-options "-DITERATIONS=5" { target simulator } }
 // { dg-timeout-factor 2.0 }
index ccde2cdb3c2ba89d1fef5cc7b33cdd87a55eff1c..58aac1ff5cd37fc9fc4fe0a4d82c9098b44d2454 100644 (file)
@@ -1,6 +1,7 @@
 // __gnu_pbds::test::basic_type has ambiguous string conversions in C++17
 // { dg-do run { target { ! c++17 } } }
 // { dg-require-time "" }
+// { dg-require-cstdint "" }
 // This can take long on simulators, timing out the test.
 // { dg-options "-DITERATIONS=5" { target simulator } }
 // { dg-timeout-factor 2.0 }
index c786cb35d519b8a7ae332bc203fd053a29260180..c68a2b2d0b8c66a949c8e34906bdc38c0713da1d 100644 (file)
@@ -1,6 +1,7 @@
 // __gnu_pbds::test::basic_type has ambiguous string conversions in C++17
 // { dg-do run { target { ! c++17 } } }
 // { dg-require-time "" }
+// { dg-require-cstdint "" }
 
 // -*- C++ -*-
 
index a211ae73648d6f792fa4f2c357080b3ed4610f8e..bc216100eb1354ea585ba96027649267c875c519 100644 (file)
@@ -1,6 +1,7 @@
 // __gnu_pbds::test::basic_type has ambiguous string conversions in C++17
 // { dg-do run { target { ! c++17 } } }
 // { dg-require-time "" }
+// { dg-require-cstdint "" }
 
 // -*- C++ -*-
 
index 911c1d5284e0a990da0b25f943342276584c06c3..fd77e9b7e75e1d71e37025d0844bdb3605993585 100644 (file)
@@ -1,6 +1,7 @@
 // __gnu_pbds::test::basic_type has ambiguous string conversions in C++17
 // { dg-do run { target { ! c++17 } } }
 // { dg-require-time "" }
+// { dg-require-cstdint "" }
 // This can take long on simulators, timing out the test.
 // { dg-options "-DITERATIONS=5" { target simulator } }
 // { dg-timeout-factor 2.0 }
index 8513d74383863bcdc1d3a6c7f446c231ce37ce8e..34dbcf51a17ec337baf73a4bb12990bf30f2c13b 100644 (file)
@@ -1,6 +1,7 @@
 // __gnu_pbds::test::basic_type has ambiguous string conversions in C++17
 // { dg-do run { target { ! c++17 } } }
 // { dg-require-time "" }
+// { dg-require-cstdint "" }
 // This can take long on simulators, timing out the test.
 // { dg-options "-DITERATIONS=5" { target simulator } }
 // { dg-timeout-factor 2.0 }
index 0f3163f5fd2fade06b76414061fbce4c5bafc73b..9d6283acf814d8d987994e27869bc589516e0d11 100644 (file)
@@ -1,6 +1,7 @@
 // __gnu_pbds::test::basic_type has ambiguous string conversions in C++17
 // { dg-do run { target { ! c++17 } } }
 // { dg-require-time "" }
+// { dg-require-cstdint "" }
 // This can take long on simulators, timing out the test.
 // { dg-options "-DITERATIONS=5" { target simulator } }
 // { dg-timeout-factor 2.0 }
index bb0722f7ae9d07bc115bd9110de6c3aaee0655dc..3441aa395b35b554d3eea84c4a97419726efcd93 100644 (file)
@@ -1,6 +1,7 @@
 // __gnu_pbds::test::basic_type has ambiguous string conversions in C++17
 // { dg-do run { target { ! c++17 } } }
 // { dg-require-time "" }
+// { dg-require-cstdint "" }
 // This can take long on simulators, timing out the test.
 // { dg-options "-DITERATIONS=5" { target simulator } }
 // { dg-timeout-factor 2.0 }
index e8100a3dc2eaeb7607fdc910a371f34dade8c98e..4962f4c1a68eb049724c2ed0ecdf159efa1dd0d8 100644 (file)
@@ -1,6 +1,7 @@
 // __gnu_pbds::test::basic_type has ambiguous string conversions in C++17
 // { dg-do run { target { ! c++17 } } }
 // { dg-require-time "" }
+// { dg-require-cstdint "" }
 // This can take long on simulators, timing out the test.
 // { dg-options "-DITERATIONS=5" { target simulator } }
 // { dg-timeout-factor 2.0 }
index 856d3d7612c328cec0756974f1d4a0b1cc9dc613..520d9a8c199f9977ed59d80ba7ce00cea4be9f09 100644 (file)
@@ -17,6 +17,7 @@
 
 // { dg-options "-faligned-new" }
 // { dg-do run { target c++11 } }
+// { dg-require-cstdint "" }
 
 #include <ext/pool_allocator.h>
 #include <cstddef>
index e94691657ec1155f8ddfbfe7b0603cf7c7e8ef13..75925d6ca7cc204ade092f0dfdcb2ac709aed77b 100644 (file)
@@ -17,6 +17,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-require-time "" }
+// { dg-require-cstdint "" }
 
 #include <ext/throw_allocator.h>
 #include <testsuite_allocator.h>
index 5bcf7cf4b48709dc9b027e37d23f0f5ba8f4bac2..cc12a52156cbee993858bc33a0bfdca81b5dd10d 100644 (file)
@@ -17,6 +17,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-require-time "" }
+// { dg-require-cstdint "" }
 
 #include <ext/throw_allocator.h>
 #include <testsuite_allocator.h>
index eec1596894ae8b8684253934c1d378b6ef19ec03..b70a9566aed035532896a8369dfc76fbe69d0d1b 100644 (file)
@@ -17,6 +17,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-require-time "" }
+// { dg-require-cstdint "" }
 
 #include <cstdlib>
 #include <ext/throw_allocator.h>
index 68fc7bfdd24477d2ef0e8f1690c634457d10ea52..1f8b634cd8a254f1c42c508729e3e8137baba9d9 100644 (file)
@@ -17,6 +17,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-require-time "" }
+// { dg-require-cstdint "" }
 
 #include <cstdlib>
 #include <ext/throw_allocator.h>
index 8d5dda068f3ef3e48a0d2995b38923ded36315af..38f417cca1e7da41c71171fa16bef1cdcc43d244 100644 (file)
@@ -19,6 +19,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-require-time "" }
+// { dg-require-cstdint "" }
 
 #include <string>
 #include <stdexcept>
index 47871b85b381584a177ba77dc50f280a87de1d49..58ee6d9d9d14c59d81ccfdc2d8c4859c2fee2487 100644 (file)
@@ -17,6 +17,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-require-time "" }
+// { dg-require-cstdint "" }
 
 #include <string>
 #include <ext/throw_allocator.h>
index bde424d780fda4b7867e2f29048fe95d95de35e6..4d64a3a70165a30287e4325354a4cd6e8d671be4 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-do compile }
+// { dg-require-cstdint "" }
 
 //
 // Copyright (C) 2007-2018 Free Software Foundation, Inc.
index 01a7b32e1b9d7e5ee82562561bdbe4be31c7dab2..4a843a4ce3196c4cc087ff9f72dcfe7fc3a6e012 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-do run { target c++11 } }
+// { dg-require-cstdint "" }
 
 // 2007-10-26  Paolo Carlini  <pcarlini@suse.de>
 
index 66eafeb35fc672670e578672db8213b7906c80af..29286f7cfcc902789d812db9b1f23aae004a9777 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-do compile }
+// { dg-require-cstdint "" }
 
 // 2006-01-30  Paolo Carlini  <pcarlini@suse.de>
 //