2018-07-26 Jonathan Wakely <jwakely@redhat.com>
+ * 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<throw_value_random>): Do not define when <tr1/random> is
#include <cstdint>
#include <testsuite_hooks.h>
-// Test specializations for char16_t and char32_t, in C++0x.
+// Test specializations for char16_t and char32_t, in C++11.
template<typename T, typename R>
void
do_test()
int main()
{
- do_test<char16_t, uint_least16_t>();
- do_test<char32_t, uint_least32_t>();
+ do_test<char16_t, std::uint_least16_t>();
+ do_test<char32_t, std::uint_least32_t>();
return 0;
}
// C++11 [ptr.align] (20.6.5): std::align
-// { dg-require-cstdint "" }
-
#include <memory>
#include <testsuite_hooks.h>
// { dg-do run { target c++11 } }
-// { dg-require-cstdint "" }
// Copyright (C) 2008-2018 Free Software Foundation, Inc.
//
// { dg-do run { target c++11 } }
-// { dg-require-cstdint "" }
// Copyright (C) 2008-2018 Free Software Foundation, Inc.
//
// { dg-do run { target c++11 } }
-// { dg-require-cstdint "" }
// Copyright (C) 2011-2018 Free Software Foundation, Inc.
//
// { dg-do compile { target c++11 } }
-// { dg-require-cstdint "" }
// Copyright (C) 2009-2018 Free Software Foundation, Inc.
//
// { dg-do run { target c++11 } }
-// { dg-require-cstdint "" }
// Copyright (C) 2009-2018 Free Software Foundation, Inc.
//
// { dg-do run { target c++11 } }
-// { dg-require-cstdint "" }
// Copyright (C) 2008-2018 Free Software Foundation, Inc.
//
// { dg-do run { target c++11 } }
-// { dg-require-cstdint "" }
// Copyright (C) 2008-2018 Free Software Foundation, Inc.
//
// { dg-do compile { target c++11 } }
-// { dg-require-cstdint "" }
// Copyright (C) 2008-2018 Free Software Foundation, Inc.
//
// { dg-do run { target c++11 } }
-// { dg-require-cstdint "" }
// Copyright (C) 2008-2018 Free Software Foundation, Inc.
//
// { dg-do compile { target c++11 } }
-// { dg-require-cstdint "" }
// Copyright (C) 2012-2018 Free Software Foundation, Inc.
//
// { dg-do compile { target c++11 } }
-// { dg-require-cstdint "" }
// Copyright (C) 2009-2018 Free Software Foundation, Inc.
//
// { dg-do compile { target c++11 } }
-// { dg-require-cstdint "" }
// Copyright (C) 2008-2018 Free Software Foundation, Inc.
//
// { dg-do compile { target c++11 } }
-// { dg-require-cstdint "" }
// 2008-07-31 Chris Fairles <chris.fairles@gmail.com>
// Copyright (C) 2008-2018 Free Software Foundation, Inc.
// { dg-do compile { target c++11 } }
-// { dg-require-cstdint "" }
// 2008-07-31 Chris Fairles <chris.fairles@gmail.com>
// Copyright (C) 2008-2018 Free Software Foundation, Inc.
// { dg-do compile { target c++11 } }
-// { dg-require-cstdint "" }
// 2008-07-31 Chris Fairles <chris.fairles@gmail.com>
// Copyright (C) 2008-2018 Free Software Foundation, Inc.
// { dg-do compile { target c++11 } }
-// { dg-require-cstdint "" }
// Copyright (C) 2014-2018 Free Software Foundation, Inc.
//
// { dg-do run { target c++11 } }
-// { dg-require-cstdint "" }
// Copyright (C) 2008-2018 Free Software Foundation, Inc.
//
// { dg-do run { target c++11 } }
-// { dg-require-cstdint "" }
// Copyright (C) 2008-2018 Free Software Foundation, Inc.
//
// { dg-do run { target c++11 } }
-// { dg-require-cstdint "" }
// 2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
// { dg-do run { target c++11 } }
-// { dg-require-cstdint "" }
// 2008-07-03 Chris Fairles <chris.fairles@gmail.com>
// { dg-do run { target c++11 } }
-// { dg-require-cstdint "" }
// 2010-10-18 Paolo Carlini <paolo.carlini@oracle.com>
// { dg-do run { target c++11 } }
-// { dg-require-cstdint "" }
// Copyright (C) 2011-2018 Free Software Foundation, Inc.
//
// { dg-do compile { target c++11 } }
-// { dg-require-cstdint "" }
// Copyright (C) 2012-2018 Free Software Foundation, Inc.
//
// { dg-do run { target c++11 } }
-// { dg-require-cstdint "" }
// 2008-07-03 Chris Fairles <chris.fairles@gmail.com>
// { 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.
// { dg-do run { target c++11 } }
-// { dg-require-cstdint "" }
// { dg-require-time "" }
// Copyright (C) 2008-2018 Free Software Foundation, Inc.
// { dg-do run { target c++11 } }
-// { dg-require-cstdint "" }
// Copyright (C) 2008-2018 Free Software Foundation, Inc.
//
// { dg-do run { target c++11 } }
-// { dg-require-cstdint "" }
// Copyright (C) 2008-2018 Free Software Foundation, Inc.
//
// { dg-do run { target c++11 } }
-// { dg-require-cstdint "" }
// Copyright (C) 2008-2018 Free Software Foundation, Inc.
//
// { dg-do compile { target c++11 } }
-// { dg-require-cstdint "" }
// Copyright (C) 2008-2018 Free Software Foundation, Inc.
//
// { dg-do compile { target c++11 } }
-// { dg-require-cstdint "" }
// Copyright (C) 2008-2018 Free Software Foundation, Inc.
//
// { dg-do compile { target c++11 } }
-// { dg-require-cstdint "" }
// Copyright (C) 2008-2018 Free Software Foundation, Inc.
//
// { dg-do compile }
// { dg-options "-std=gnu++17" }
-// { dg-require-cstdint "" }
// Copyright (C) 2013-2018 Free Software Foundation, Inc.
//
// { dg-do compile }
// { dg-options "-std=gnu++17" }
-// { dg-require-cstdint "" }
// Copyright (C) 2013-2018 Free Software Foundation, Inc.
//
// { dg-do compile { target c++11 } }
-// { dg-require-cstdint "" }
// Copyright (C) 2008-2018 Free Software Foundation, Inc.
//
// { dg-do compile { target c++11 } }
-// { dg-require-cstdint "" }
// Copyright (C) 2008-2018 Free Software Foundation, Inc.
//
// { dg-do compile { target c++11 } }
-// { dg-require-cstdint "" }
// Copyright (C) 2008-2018 Free Software Foundation, Inc.
//
// <http://www.gnu.org/licenses/>.
// { dg-do run { target c++11 } }
-// { dg-require-cstdint "" }
// [locale.codecvt], C++11 22.4.1.4. specialization.
// { dg-do run { target c++11 } }
-// { dg-require-cstdint "" }
// 2014-04-24 RĂ¼diger Sonderfeld
// <http://www.gnu.org/licenses/>.
// { dg-do compile { target c++11 } }
-// { dg-require-cstdint "" }
#include <codecvt>
#include <type_traits>
// <http://www.gnu.org/licenses/>.
// { dg-do compile { target c++11 } }
-// { dg-require-cstdint "" }
#include <codecvt>
#include <type_traits>
// <http://www.gnu.org/licenses/>.
// { dg-do compile { target c++11 } }
-// { dg-require-cstdint "" }
#include <codecvt>
#include <type_traits>
// <http://www.gnu.org/licenses/>.
// { dg-do run { target c++11 } }
-// { dg-require-cstdint "" }
#include <locale>
#include <iterator>
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
-// { dg-require-cstdint "" }
// { dg-skip-if "" { *-*-* } { "-fno-exceptions" } }
#include <vector>
// { 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.
// { dg-do compile { target c++14 } }
-// { dg-require-cstdint "" }
// Copyright (C) 2013-2018 Free Software Foundation, Inc.
//
// { dg-do compile { target c++14 } }
-// { dg-require-cstdint "" }
// Copyright (C) 2013-2018 Free Software Foundation, Inc.
//
// { dg-do compile { target c++11 } }
-// { dg-require-cstdint "" }
// { dg-require-string-conversions "" }
// Copyright (C) 2008-2018 Free Software Foundation, Inc.
// { dg-do compile { target c++11 } }
-// { dg-require-cstdint "" }
// { dg-require-string-conversions "" }
// Copyright (C) 2008-2018 Free Software Foundation, Inc.