From: Jonathan Wakely Date: Thu, 26 Jul 2018 14:02:26 +0000 (+0100) Subject: Remove dg-require-cstdint directive from tests X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2b69e93cd1af407becc58ba5c48252af20d35e44;p=gcc.git Remove dg-require-cstdint directive from tests Tests for components which are no longer dependent on _GLIBCXX_USE_C99_STDINT_TR1 do not need to require . * testsuite/18_support/numeric_limits/char16_32_t.cc: Qualify names from namespace std. * testsuite/20_util/align/2.cc: Remove dg-require-cstdint directive. * testsuite/20_util/duration/arithmetic/1.cc: Likewise. * testsuite/20_util/duration/arithmetic/2.cc: Likewise. * testsuite/20_util/duration/arithmetic/dr2020.cc: Likewise. * testsuite/20_util/duration/arithmetic/dr934-1.cc: Likewise. * testsuite/20_util/duration/arithmetic/dr934-2.cc: Likewise. * testsuite/20_util/duration/comparison_operators/1.cc: Likewise. * testsuite/20_util/duration/cons/1.cc: Likewise. * testsuite/20_util/duration/cons/1_neg.cc: Likewise. * testsuite/20_util/duration/cons/2.cc: Likewise. * testsuite/20_util/duration/cons/54025.cc: Likewise. * testsuite/20_util/duration/cons/dr974_neg.cc: Likewise. * testsuite/20_util/duration/requirements/explicit_instantiation/ explicit_instantiation.cc: Likewise. * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Likewise. * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise. * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise. * testsuite/20_util/make_signed/requirements/typedefs-4.cc: Likewise. * testsuite/20_util/ratio/comparisons/comp1.cc: Likewise. * testsuite/20_util/ratio/comparisons/comp2.cc: Likewise. * testsuite/20_util/ratio/comparisons/comp3.cc: Likewise. * testsuite/20_util/ratio/cons/cons1.cc: Likewise. * testsuite/20_util/ratio/operations/45866.cc: Likewise. * testsuite/20_util/ratio/operations/47913.cc: Likewise. * testsuite/20_util/ratio/operations/53840.cc: Likewise. * testsuite/20_util/ratio/operations/ops1.cc: Likewise. * testsuite/20_util/shared_ptr/atomic/3.cc: Likewise. * testsuite/20_util/system_clock/1.cc: Likewise. * testsuite/20_util/time_point/1.cc: Likewise. * testsuite/20_util/time_point/2.cc: Likewise. * testsuite/20_util/time_point/3.cc: Likewise. * testsuite/20_util/time_point/requirements/explicit_instantiation/ explicit_instantiation.cc: Likewise. * testsuite/21_strings/basic_string/requirements/ explicit_instantiation/char16_t/1.cc: Likewise. * testsuite/21_strings/basic_string/requirements/ explicit_instantiation/char32_t/1.cc: Likewise. * testsuite/21_strings/basic_string_view/requirements/ explicit_instantiation/char16_t/1.cc: Likewise. * testsuite/21_strings/basic_string_view/requirements/ explicit_instantiation/char32_t/1.cc: Likewise. * testsuite/21_strings/char_traits/requirements/ explicit_instantiation/char16_t/1.cc: Likewise. * testsuite/21_strings/char_traits/requirements/ explicit_instantiation/char32_t/1.cc: Likewise. * testsuite/21_strings/headers/string/types_std_c++0x.cc: Likewise. * testsuite/22_locale/codecvt/char16_t.cc: Likewise. * testsuite/22_locale/codecvt/char32_t.cc: Likewise. * testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc: Likewise. * testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc: Likewise. * testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc: Likewise. * testsuite/22_locale/codecvt/utf8.cc: Likewise. * testsuite/23_containers/vector/bool/72847.cc: Likewise. * testsuite/23_containers/vector/debug/multithreaded_swap.cc: Likewise. * testsuite/experimental/string_view/requirements/ explicit_instantiation/char16_t/1.cc: Likewise. * testsuite/experimental/string_view/requirements/ explicit_instantiation/char32_t/1.cc: Likewise. * testsuite/ext/vstring/requirements/explicit_instantiation/char16_t/ 1.cc: Likewise. * testsuite/ext/vstring/requirements/explicit_instantiation/char32_t/ 1.cc: Likewise. From-SVN: r263005 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 285ea6b7dca..028f269e6f4 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,74 @@ 2018-07-26 Jonathan Wakely + * testsuite/18_support/numeric_limits/char16_32_t.cc: Qualify names + from namespace std. + * testsuite/20_util/align/2.cc: Remove dg-require-cstdint directive. + * testsuite/20_util/duration/arithmetic/1.cc: Likewise. + * testsuite/20_util/duration/arithmetic/2.cc: Likewise. + * testsuite/20_util/duration/arithmetic/dr2020.cc: Likewise. + * testsuite/20_util/duration/arithmetic/dr934-1.cc: Likewise. + * testsuite/20_util/duration/arithmetic/dr934-2.cc: Likewise. + * testsuite/20_util/duration/comparison_operators/1.cc: Likewise. + * testsuite/20_util/duration/cons/1.cc: Likewise. + * testsuite/20_util/duration/cons/1_neg.cc: Likewise. + * testsuite/20_util/duration/cons/2.cc: Likewise. + * testsuite/20_util/duration/cons/54025.cc: Likewise. + * testsuite/20_util/duration/cons/dr974_neg.cc: Likewise. + * testsuite/20_util/duration/requirements/explicit_instantiation/ + explicit_instantiation.cc: Likewise. + * testsuite/20_util/duration/requirements/typedefs_neg1.cc: Likewise. + * testsuite/20_util/duration/requirements/typedefs_neg2.cc: Likewise. + * testsuite/20_util/duration/requirements/typedefs_neg3.cc: Likewise. + * testsuite/20_util/make_signed/requirements/typedefs-4.cc: Likewise. + * testsuite/20_util/ratio/comparisons/comp1.cc: Likewise. + * testsuite/20_util/ratio/comparisons/comp2.cc: Likewise. + * testsuite/20_util/ratio/comparisons/comp3.cc: Likewise. + * testsuite/20_util/ratio/cons/cons1.cc: Likewise. + * testsuite/20_util/ratio/operations/45866.cc: Likewise. + * testsuite/20_util/ratio/operations/47913.cc: Likewise. + * testsuite/20_util/ratio/operations/53840.cc: Likewise. + * testsuite/20_util/ratio/operations/ops1.cc: Likewise. + * testsuite/20_util/shared_ptr/atomic/3.cc: Likewise. + * testsuite/20_util/system_clock/1.cc: Likewise. + * testsuite/20_util/time_point/1.cc: Likewise. + * testsuite/20_util/time_point/2.cc: Likewise. + * testsuite/20_util/time_point/3.cc: Likewise. + * testsuite/20_util/time_point/requirements/explicit_instantiation/ + explicit_instantiation.cc: Likewise. + * testsuite/21_strings/basic_string/requirements/ + explicit_instantiation/char16_t/1.cc: Likewise. + * testsuite/21_strings/basic_string/requirements/ + explicit_instantiation/char32_t/1.cc: Likewise. + * testsuite/21_strings/basic_string_view/requirements/ + explicit_instantiation/char16_t/1.cc: Likewise. + * testsuite/21_strings/basic_string_view/requirements/ + explicit_instantiation/char32_t/1.cc: Likewise. + * testsuite/21_strings/char_traits/requirements/ + explicit_instantiation/char16_t/1.cc: Likewise. + * testsuite/21_strings/char_traits/requirements/ + explicit_instantiation/char32_t/1.cc: Likewise. + * testsuite/21_strings/headers/string/types_std_c++0x.cc: Likewise. + * testsuite/22_locale/codecvt/char16_t.cc: Likewise. + * testsuite/22_locale/codecvt/char32_t.cc: Likewise. + * testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc: + Likewise. + * testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc: + Likewise. + * testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc: + Likewise. + * testsuite/22_locale/codecvt/utf8.cc: Likewise. + * testsuite/23_containers/vector/bool/72847.cc: Likewise. + * testsuite/23_containers/vector/debug/multithreaded_swap.cc: + Likewise. + * testsuite/experimental/string_view/requirements/ + explicit_instantiation/char16_t/1.cc: Likewise. + * testsuite/experimental/string_view/requirements/ + explicit_instantiation/char32_t/1.cc: Likewise. + * testsuite/ext/vstring/requirements/explicit_instantiation/char16_t/ + 1.cc: Likewise. + * testsuite/ext/vstring/requirements/explicit_instantiation/char32_t/ + 1.cc: Likewise. + * include/ext/throw_allocator.h [!_GLIBCXX_USE_C99_STDINT_TR1] (random_condition, throw_value_random, throw_allocator_random) (std::hash): Do not define when is diff --git a/libstdc++-v3/testsuite/18_support/numeric_limits/char16_32_t.cc b/libstdc++-v3/testsuite/18_support/numeric_limits/char16_32_t.cc index 92c8639adf7..4f0eac37475 100644 --- a/libstdc++-v3/testsuite/18_support/numeric_limits/char16_32_t.cc +++ b/libstdc++-v3/testsuite/18_support/numeric_limits/char16_32_t.cc @@ -26,7 +26,7 @@ #include #include -// Test specializations for char16_t and char32_t, in C++0x. +// Test specializations for char16_t and char32_t, in C++11. template void do_test() @@ -68,8 +68,8 @@ template int main() { - do_test(); - do_test(); + do_test(); + do_test(); return 0; } diff --git a/libstdc++-v3/testsuite/20_util/align/2.cc b/libstdc++-v3/testsuite/20_util/align/2.cc index bb4cc56adf6..c7ff67e0454 100644 --- a/libstdc++-v3/testsuite/20_util/align/2.cc +++ b/libstdc++-v3/testsuite/20_util/align/2.cc @@ -19,8 +19,6 @@ // C++11 [ptr.align] (20.6.5): std::align -// { dg-require-cstdint "" } - #include #include diff --git a/libstdc++-v3/testsuite/20_util/duration/arithmetic/1.cc b/libstdc++-v3/testsuite/20_util/duration/arithmetic/1.cc index 79e86f5d796..dc950f01105 100644 --- a/libstdc++-v3/testsuite/20_util/duration/arithmetic/1.cc +++ b/libstdc++-v3/testsuite/20_util/duration/arithmetic/1.cc @@ -1,5 +1,4 @@ // { dg-do run { target c++11 } } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/duration/arithmetic/2.cc b/libstdc++-v3/testsuite/20_util/duration/arithmetic/2.cc index 39143ec376d..0758df68dfa 100644 --- a/libstdc++-v3/testsuite/20_util/duration/arithmetic/2.cc +++ b/libstdc++-v3/testsuite/20_util/duration/arithmetic/2.cc @@ -1,5 +1,4 @@ // { dg-do run { target c++11 } } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/duration/arithmetic/dr2020.cc b/libstdc++-v3/testsuite/20_util/duration/arithmetic/dr2020.cc index ea37575fac6..7fa01de4f69 100644 --- a/libstdc++-v3/testsuite/20_util/duration/arithmetic/dr2020.cc +++ b/libstdc++-v3/testsuite/20_util/duration/arithmetic/dr2020.cc @@ -1,5 +1,4 @@ // { dg-do run { target c++11 } } -// { dg-require-cstdint "" } // Copyright (C) 2011-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/duration/arithmetic/dr934-1.cc b/libstdc++-v3/testsuite/20_util/duration/arithmetic/dr934-1.cc index ff990127632..88e1aae203d 100644 --- a/libstdc++-v3/testsuite/20_util/duration/arithmetic/dr934-1.cc +++ b/libstdc++-v3/testsuite/20_util/duration/arithmetic/dr934-1.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // Copyright (C) 2009-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/duration/arithmetic/dr934-2.cc b/libstdc++-v3/testsuite/20_util/duration/arithmetic/dr934-2.cc index 739b35afdf6..25099e08a4c 100644 --- a/libstdc++-v3/testsuite/20_util/duration/arithmetic/dr934-2.cc +++ b/libstdc++-v3/testsuite/20_util/duration/arithmetic/dr934-2.cc @@ -1,5 +1,4 @@ // { dg-do run { target c++11 } } -// { dg-require-cstdint "" } // Copyright (C) 2009-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/duration/comparison_operators/1.cc b/libstdc++-v3/testsuite/20_util/duration/comparison_operators/1.cc index 875834e6d5b..e90217f7e7a 100644 --- a/libstdc++-v3/testsuite/20_util/duration/comparison_operators/1.cc +++ b/libstdc++-v3/testsuite/20_util/duration/comparison_operators/1.cc @@ -1,5 +1,4 @@ // { dg-do run { target c++11 } } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/duration/cons/1.cc b/libstdc++-v3/testsuite/20_util/duration/cons/1.cc index 171fcb67469..9ad0726d445 100644 --- a/libstdc++-v3/testsuite/20_util/duration/cons/1.cc +++ b/libstdc++-v3/testsuite/20_util/duration/cons/1.cc @@ -1,5 +1,4 @@ // { dg-do run { target c++11 } } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/duration/cons/1_neg.cc b/libstdc++-v3/testsuite/20_util/duration/cons/1_neg.cc index 7c14136886a..34974c03c30 100644 --- a/libstdc++-v3/testsuite/20_util/duration/cons/1_neg.cc +++ b/libstdc++-v3/testsuite/20_util/duration/cons/1_neg.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/duration/cons/2.cc b/libstdc++-v3/testsuite/20_util/duration/cons/2.cc index 274293c5074..3f48f25f101 100644 --- a/libstdc++-v3/testsuite/20_util/duration/cons/2.cc +++ b/libstdc++-v3/testsuite/20_util/duration/cons/2.cc @@ -1,5 +1,4 @@ // { dg-do run { target c++11 } } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/duration/cons/54025.cc b/libstdc++-v3/testsuite/20_util/duration/cons/54025.cc index fe7f622685b..8db4d31efca 100644 --- a/libstdc++-v3/testsuite/20_util/duration/cons/54025.cc +++ b/libstdc++-v3/testsuite/20_util/duration/cons/54025.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // Copyright (C) 2012-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/duration/cons/dr974_neg.cc b/libstdc++-v3/testsuite/20_util/duration/cons/dr974_neg.cc index 4b557ab6311..2cff3a404f4 100644 --- a/libstdc++-v3/testsuite/20_util/duration/cons/dr974_neg.cc +++ b/libstdc++-v3/testsuite/20_util/duration/cons/dr974_neg.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // Copyright (C) 2009-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/duration/requirements/explicit_instantiation/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/duration/requirements/explicit_instantiation/explicit_instantiation.cc index f113662b771..5307f454c8c 100644 --- a/libstdc++-v3/testsuite/20_util/duration/requirements/explicit_instantiation/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/duration/requirements/explicit_instantiation/explicit_instantiation.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/duration/requirements/typedefs_neg1.cc b/libstdc++-v3/testsuite/20_util/duration/requirements/typedefs_neg1.cc index 37949434c3c..bb86e475bef 100644 --- a/libstdc++-v3/testsuite/20_util/duration/requirements/typedefs_neg1.cc +++ b/libstdc++-v3/testsuite/20_util/duration/requirements/typedefs_neg1.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // 2008-07-31 Chris Fairles // Copyright (C) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/duration/requirements/typedefs_neg2.cc b/libstdc++-v3/testsuite/20_util/duration/requirements/typedefs_neg2.cc index ecd3c81530b..3c39517c7e2 100644 --- a/libstdc++-v3/testsuite/20_util/duration/requirements/typedefs_neg2.cc +++ b/libstdc++-v3/testsuite/20_util/duration/requirements/typedefs_neg2.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // 2008-07-31 Chris Fairles // Copyright (C) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/duration/requirements/typedefs_neg3.cc b/libstdc++-v3/testsuite/20_util/duration/requirements/typedefs_neg3.cc index d2c16675096..0c92f00a06d 100644 --- a/libstdc++-v3/testsuite/20_util/duration/requirements/typedefs_neg3.cc +++ b/libstdc++-v3/testsuite/20_util/duration/requirements/typedefs_neg3.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // 2008-07-31 Chris Fairles // Copyright (C) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-4.cc b/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-4.cc index 8135d9cddd0..d62589b39a4 100644 --- a/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-4.cc +++ b/libstdc++-v3/testsuite/20_util/make_signed/requirements/typedefs-4.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // Copyright (C) 2014-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/ratio/comparisons/comp1.cc b/libstdc++-v3/testsuite/20_util/ratio/comparisons/comp1.cc index 7c838661a98..c33698ea358 100644 --- a/libstdc++-v3/testsuite/20_util/ratio/comparisons/comp1.cc +++ b/libstdc++-v3/testsuite/20_util/ratio/comparisons/comp1.cc @@ -1,5 +1,4 @@ // { dg-do run { target c++11 } } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/ratio/comparisons/comp2.cc b/libstdc++-v3/testsuite/20_util/ratio/comparisons/comp2.cc index 0b009b39e2b..dcbe4ee700d 100644 --- a/libstdc++-v3/testsuite/20_util/ratio/comparisons/comp2.cc +++ b/libstdc++-v3/testsuite/20_util/ratio/comparisons/comp2.cc @@ -1,5 +1,4 @@ // { dg-do run { target c++11 } } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/ratio/comparisons/comp3.cc b/libstdc++-v3/testsuite/20_util/ratio/comparisons/comp3.cc index e5e868bc026..b702eb4d06a 100644 --- a/libstdc++-v3/testsuite/20_util/ratio/comparisons/comp3.cc +++ b/libstdc++-v3/testsuite/20_util/ratio/comparisons/comp3.cc @@ -1,5 +1,4 @@ // { dg-do run { target c++11 } } -// { dg-require-cstdint "" } // 2011-02-28 Paolo Carlini diff --git a/libstdc++-v3/testsuite/20_util/ratio/cons/cons1.cc b/libstdc++-v3/testsuite/20_util/ratio/cons/cons1.cc index 4913189aedc..74d898c9371 100644 --- a/libstdc++-v3/testsuite/20_util/ratio/cons/cons1.cc +++ b/libstdc++-v3/testsuite/20_util/ratio/cons/cons1.cc @@ -1,5 +1,4 @@ // { dg-do run { target c++11 } } -// { dg-require-cstdint "" } // 2008-07-03 Chris Fairles diff --git a/libstdc++-v3/testsuite/20_util/ratio/operations/45866.cc b/libstdc++-v3/testsuite/20_util/ratio/operations/45866.cc index cdbf5f37c30..08cebea409c 100644 --- a/libstdc++-v3/testsuite/20_util/ratio/operations/45866.cc +++ b/libstdc++-v3/testsuite/20_util/ratio/operations/45866.cc @@ -1,5 +1,4 @@ // { dg-do run { target c++11 } } -// { dg-require-cstdint "" } // 2010-10-18 Paolo Carlini diff --git a/libstdc++-v3/testsuite/20_util/ratio/operations/47913.cc b/libstdc++-v3/testsuite/20_util/ratio/operations/47913.cc index 6e4d1106fdb..d9f971c61b3 100644 --- a/libstdc++-v3/testsuite/20_util/ratio/operations/47913.cc +++ b/libstdc++-v3/testsuite/20_util/ratio/operations/47913.cc @@ -1,5 +1,4 @@ // { dg-do run { target c++11 } } -// { dg-require-cstdint "" } // Copyright (C) 2011-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/ratio/operations/53840.cc b/libstdc++-v3/testsuite/20_util/ratio/operations/53840.cc index c4ad05ea711..ee0a7e8cd6c 100644 --- a/libstdc++-v3/testsuite/20_util/ratio/operations/53840.cc +++ b/libstdc++-v3/testsuite/20_util/ratio/operations/53840.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // Copyright (C) 2012-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/ratio/operations/ops1.cc b/libstdc++-v3/testsuite/20_util/ratio/operations/ops1.cc index c9f9808c418..e6ed871ca7e 100644 --- a/libstdc++-v3/testsuite/20_util/ratio/operations/ops1.cc +++ b/libstdc++-v3/testsuite/20_util/ratio/operations/ops1.cc @@ -1,5 +1,4 @@ // { dg-do run { target c++11 } } -// { dg-require-cstdint "" } // 2008-07-03 Chris Fairles diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/atomic/3.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/atomic/3.cc index 0e36d2290da..111cd16d319 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/atomic/3.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/atomic/3.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++11 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2014-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/system_clock/1.cc b/libstdc++-v3/testsuite/20_util/system_clock/1.cc index 9e64a8089e3..d2e47b95e3a 100644 --- a/libstdc++-v3/testsuite/20_util/system_clock/1.cc +++ b/libstdc++-v3/testsuite/20_util/system_clock/1.cc @@ -1,5 +1,4 @@ // { dg-do run { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-time "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/20_util/time_point/1.cc b/libstdc++-v3/testsuite/20_util/time_point/1.cc index 061ddae5299..baf2b7d07df 100644 --- a/libstdc++-v3/testsuite/20_util/time_point/1.cc +++ b/libstdc++-v3/testsuite/20_util/time_point/1.cc @@ -1,5 +1,4 @@ // { dg-do run { target c++11 } } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/time_point/2.cc b/libstdc++-v3/testsuite/20_util/time_point/2.cc index bf382b774b8..d6255113da6 100644 --- a/libstdc++-v3/testsuite/20_util/time_point/2.cc +++ b/libstdc++-v3/testsuite/20_util/time_point/2.cc @@ -1,5 +1,4 @@ // { dg-do run { target c++11 } } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/time_point/3.cc b/libstdc++-v3/testsuite/20_util/time_point/3.cc index 9688ed060f6..8163b29153e 100644 --- a/libstdc++-v3/testsuite/20_util/time_point/3.cc +++ b/libstdc++-v3/testsuite/20_util/time_point/3.cc @@ -1,5 +1,4 @@ // { dg-do run { target c++11 } } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/20_util/time_point/requirements/explicit_instantiation/explicit_instantiation.cc b/libstdc++-v3/testsuite/20_util/time_point/requirements/explicit_instantiation/explicit_instantiation.cc index 0a5eca4bc5c..9fca4c0cb18 100644 --- a/libstdc++-v3/testsuite/20_util/time_point/requirements/explicit_instantiation/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/20_util/time_point/requirements/explicit_instantiation/explicit_instantiation.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/requirements/explicit_instantiation/char16_t/1.cc b/libstdc++-v3/testsuite/21_strings/basic_string/requirements/explicit_instantiation/char16_t/1.cc index 88fdeada219..df5d7088824 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/requirements/explicit_instantiation/char16_t/1.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/requirements/explicit_instantiation/char16_t/1.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/requirements/explicit_instantiation/char32_t/1.cc b/libstdc++-v3/testsuite/21_strings/basic_string/requirements/explicit_instantiation/char32_t/1.cc index d8cb5c954fa..09d42eb7446 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/requirements/explicit_instantiation/char32_t/1.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/requirements/explicit_instantiation/char32_t/1.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/21_strings/basic_string_view/requirements/explicit_instantiation/char16_t/1.cc b/libstdc++-v3/testsuite/21_strings/basic_string_view/requirements/explicit_instantiation/char16_t/1.cc index 46e8e15130d..a0a76977697 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string_view/requirements/explicit_instantiation/char16_t/1.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string_view/requirements/explicit_instantiation/char16_t/1.cc @@ -1,6 +1,5 @@ // { dg-do compile } // { dg-options "-std=gnu++17" } -// { dg-require-cstdint "" } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/21_strings/basic_string_view/requirements/explicit_instantiation/char32_t/1.cc b/libstdc++-v3/testsuite/21_strings/basic_string_view/requirements/explicit_instantiation/char32_t/1.cc index 031fd4c8ecf..9166e0b8f10 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string_view/requirements/explicit_instantiation/char32_t/1.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string_view/requirements/explicit_instantiation/char32_t/1.cc @@ -1,6 +1,5 @@ // { dg-do compile } // { dg-options "-std=gnu++17" } -// { dg-require-cstdint "" } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/21_strings/char_traits/requirements/explicit_instantiation/char16_t/1.cc b/libstdc++-v3/testsuite/21_strings/char_traits/requirements/explicit_instantiation/char16_t/1.cc index c3b8ee53710..6887988f738 100644 --- a/libstdc++-v3/testsuite/21_strings/char_traits/requirements/explicit_instantiation/char16_t/1.cc +++ b/libstdc++-v3/testsuite/21_strings/char_traits/requirements/explicit_instantiation/char16_t/1.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/21_strings/char_traits/requirements/explicit_instantiation/char32_t/1.cc b/libstdc++-v3/testsuite/21_strings/char_traits/requirements/explicit_instantiation/char32_t/1.cc index 2242a2b3168..b71872dc70f 100644 --- a/libstdc++-v3/testsuite/21_strings/char_traits/requirements/explicit_instantiation/char32_t/1.cc +++ b/libstdc++-v3/testsuite/21_strings/char_traits/requirements/explicit_instantiation/char32_t/1.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/21_strings/headers/string/types_std_c++0x.cc b/libstdc++-v3/testsuite/21_strings/headers/string/types_std_c++0x.cc index 03b5f9f682d..038c3681788 100644 --- a/libstdc++-v3/testsuite/21_strings/headers/string/types_std_c++0x.cc +++ b/libstdc++-v3/testsuite/21_strings/headers/string/types_std_c++0x.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/char16_t.cc b/libstdc++-v3/testsuite/22_locale/codecvt/char16_t.cc index 71f7ec7654a..732b637123f 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/char16_t.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/char16_t.cc @@ -16,7 +16,6 @@ // . // { dg-do run { target c++11 } } -// { dg-require-cstdint "" } // [locale.codecvt], C++11 22.4.1.4. specialization. diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/char32_t.cc b/libstdc++-v3/testsuite/22_locale/codecvt/char32_t.cc index 09a37e4cadd..fe60b242568 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/char32_t.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/char32_t.cc @@ -1,5 +1,4 @@ // { dg-do run { target c++11 } } -// { dg-require-cstdint "" } // 2014-04-24 Rüdiger Sonderfeld diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc b/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc index bfac1fa670d..5015e76e361 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf16/requirements/1.cc @@ -16,7 +16,6 @@ // . // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } #include #include diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc b/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc index 62085e2cd99..20b2afe8798 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8/requirements/1.cc @@ -16,7 +16,6 @@ // . // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } #include #include diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc b/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc index a7055f059a2..853e260dd15 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf8_utf16/requirements/1.cc @@ -16,7 +16,6 @@ // . // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } #include #include diff --git a/libstdc++-v3/testsuite/22_locale/codecvt/utf8.cc b/libstdc++-v3/testsuite/22_locale/codecvt/utf8.cc index c85384e78b8..9623c466892 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt/utf8.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt/utf8.cc @@ -16,7 +16,6 @@ // . // { dg-do run { target c++11 } } -// { dg-require-cstdint "" } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/bool/72847.cc b/libstdc++-v3/testsuite/23_containers/vector/bool/72847.cc index 91d10f95230..d906fb0f3d1 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/bool/72847.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/bool/72847.cc @@ -15,7 +15,6 @@ // with this library; see the file COPYING3. If not see // . -// { dg-require-cstdint "" } // { dg-skip-if "" { *-*-* } { "-fno-exceptions" } } #include diff --git a/libstdc++-v3/testsuite/23_containers/vector/debug/multithreaded_swap.cc b/libstdc++-v3/testsuite/23_containers/vector/debug/multithreaded_swap.cc index fd95ebad636..a7089f09c1d 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/debug/multithreaded_swap.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/debug/multithreaded_swap.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++11 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // { dg-require-debug-mode "" } // Copyright (C) 2010-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/experimental/string_view/requirements/explicit_instantiation/char16_t/1.cc b/libstdc++-v3/testsuite/experimental/string_view/requirements/explicit_instantiation/char16_t/1.cc index be41f5254db..0389c1586ca 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/requirements/explicit_instantiation/char16_t/1.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/requirements/explicit_instantiation/char16_t/1.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++14 } } -// { dg-require-cstdint "" } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/string_view/requirements/explicit_instantiation/char32_t/1.cc b/libstdc++-v3/testsuite/experimental/string_view/requirements/explicit_instantiation/char32_t/1.cc index a7e8c906763..a8b8d195a9f 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/requirements/explicit_instantiation/char32_t/1.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/requirements/explicit_instantiation/char32_t/1.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++14 } } -// { dg-require-cstdint "" } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/ext/vstring/requirements/explicit_instantiation/char16_t/1.cc b/libstdc++-v3/testsuite/ext/vstring/requirements/explicit_instantiation/char16_t/1.cc index f61e6d6009b..bdcda542491 100644 --- a/libstdc++-v3/testsuite/ext/vstring/requirements/explicit_instantiation/char16_t/1.cc +++ b/libstdc++-v3/testsuite/ext/vstring/requirements/explicit_instantiation/char16_t/1.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-string-conversions "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/ext/vstring/requirements/explicit_instantiation/char32_t/1.cc b/libstdc++-v3/testsuite/ext/vstring/requirements/explicit_instantiation/char32_t/1.cc index 934e4da1962..d7ee6a59755 100644 --- a/libstdc++-v3/testsuite/ext/vstring/requirements/explicit_instantiation/char32_t/1.cc +++ b/libstdc++-v3/testsuite/ext/vstring/requirements/explicit_instantiation/char32_t/1.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-string-conversions "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc.