From patchwork Thu Jul 26 14:01:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 949694 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-482449-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="cjWrOD9o"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41bv2c4DV5z9rxx for ; Fri, 27 Jul 2018 00:03:36 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:in-reply-to:references:in-reply-to :references; q=dns; s=default; b=Zbyb3iyf7hqEe6NbuEWibs13wyUAt2f Ubwf6MzKSvkkjcENANDHlEyjOktani7dtIkmtQ+rOtuDspF5cH4vee+fj1MM6qNk zQ5Eu5NHSRgtzKHmfxJOkzT2LpwVP4Sf3+EJrXAiEBNH5ipCOiirjCwLNjWZImE5 9H8+Xj73m7e8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:in-reply-to:references:in-reply-to :references; s=default; bh=YN/oVwv52uwzjDfHaeIypt85O6k=; b=cjWrO D9o0OLrzHrBjTxFcPo4b5tMT3NeiLZFMZsfoNtJpJMuD0QoufBOffiYITl8OHf2C tgVCk6Dg6nCW7DF6sMDQTf8+c01hf3VFRYUrsUYRbNTGtQopfpRkXYeqOXrFtT5f 1Jd9Iyx5uVCra8MX84PAWRF3uPGt/1Vrq2d95g= Received: (qmail 72152 invoked by alias); 26 Jul 2018 14:02:18 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 72036 invoked by uid 89); 26 Jul 2018 14:02:18 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.1 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Storage, sk:_GLIBCX, sk:_glibcx, __s X-HELO: mx1.redhat.com Received: from mx3-rdu2.redhat.com (HELO mx1.redhat.com) (66.187.233.73) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 26 Jul 2018 14:02:10 +0000 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 07A3C879C4; Thu, 26 Jul 2018 14:02:09 +0000 (UTC) Received: from localhost (unknown [10.33.36.95]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9D57B2026D68; Thu, 26 Jul 2018 14:02:08 +0000 (UTC) From: jwakely@redhat.com To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [PATCH 2/8] Remove char16_t and char32_t dependency on Date: Thu, 26 Jul 2018 15:01:51 +0100 Message-Id: In-Reply-To: References: In-Reply-To: References: From: Jonathan Wakely The char16_t and char32_t types are automatically defined by the compiler and do not depend on support in . The char_traits specializations depend on uint_leastNN_t but can be made to work anyway by using the predefined macros, or as a last resort make_unsigned. * include/bits/basic_string.h [!_GLIBCXX_USE_C99_STDINT_TR1] (hash, hash): Remove dependency on _GLIBCXX_USE_C99_STDINT_TR1. * include/bits/char_traits.h [!_GLIBCXX_USE_C99_STDINT_TR1] (char_traits, char_traits): Remove dependency on _GLIBCXX_USE_C99_STDINT_TR1. Use __UINT_LEAST16_TYPE__ and __UINT_LEAST32_TYPE__ or make_unsigned when is not usable. * include/bits/codecvt.h [!_GLIBCXX_USE_C99_STDINT_TR1] (codecvt) (codecvt) (codecvt_byname) (codecvt_byname): Remove dependency on _GLIBCXX_USE_C99_STDINT_TR1. * include/bits/locale_facets.h [!_GLIBCXX_USE_C99_STDINT_TR1] (_GLIBCXX_NUM_UNICODE_FACETS): Likewise. * include/bits/stringfwd.h [!_GLIBCXX_USE_C99_STDINT_TR1] (char_traits, char_traits) (basic_string, basic_string): Remove dependency on _GLIBCXX_USE_C99_STDINT_TR1. * include/experimental/string_view [!_GLIBCXX_USE_C99_STDINT_TR1] (u16string_view, u32string_view, hash) (hash, operator""sv(const char16_t, size_t)) (operator""sv(const char32_t, size_t)): Likewise. * include/ext/vstring.h [!_GLIBCXX_USE_C99_STDINT_TR1] (hash<__u16vstring>, hash<__u32vstring>): Likewise. * include/ext/vstring_fwd.h [!_GLIBCXX_USE_C99_STDINT_TR1] (__u16vstring, __u16sso_string, __u16rc_string, __u32vstring) (__u32sso_string, __u32rc_string): Likewise. * include/std/codecvt [!_GLIBCXX_USE_C99_STDINT_TR1] (codecvt_mode) (codecvt_utf8, codecvt_utf16, codecvt_utf8_utf16): Likewise. * include/std/string_view [!_GLIBCXX_USE_C99_STDINT_TR1] (u16string_view, u32string_view, hash) (hash, operator""sv(const char16_t, size_t)) (operator""sv(const char32_t, size_t)): Likewise. * src/c++11/codecvt.cc: Likewise. * src/c++98/locale_init.cc: Likewise. * src/c++98/localename.cc: Likewise. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index a3665ee8b6a..10b1496af81 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,43 @@ 2018-07-26 Jonathan Wakely + * include/bits/basic_string.h [!_GLIBCXX_USE_C99_STDINT_TR1] + (hash, hash): Remove dependency on + _GLIBCXX_USE_C99_STDINT_TR1. + * include/bits/char_traits.h [!_GLIBCXX_USE_C99_STDINT_TR1] + (char_traits, char_traits): Remove dependency on + _GLIBCXX_USE_C99_STDINT_TR1. Use __UINT_LEAST16_TYPE__ and + __UINT_LEAST32_TYPE__ or make_unsigned when is not usable. + * include/bits/codecvt.h [!_GLIBCXX_USE_C99_STDINT_TR1] + (codecvt) + (codecvt) + (codecvt_byname) + (codecvt_byname): Remove dependency + on _GLIBCXX_USE_C99_STDINT_TR1. + * include/bits/locale_facets.h [!_GLIBCXX_USE_C99_STDINT_TR1] + (_GLIBCXX_NUM_UNICODE_FACETS): Likewise. + * include/bits/stringfwd.h [!_GLIBCXX_USE_C99_STDINT_TR1] + (char_traits, char_traits) + (basic_string, basic_string): Remove dependency + on _GLIBCXX_USE_C99_STDINT_TR1. + * include/experimental/string_view [!_GLIBCXX_USE_C99_STDINT_TR1] + (u16string_view, u32string_view, hash) + (hash, operator""sv(const char16_t, size_t)) + (operator""sv(const char32_t, size_t)): Likewise. + * include/ext/vstring.h [!_GLIBCXX_USE_C99_STDINT_TR1] + (hash<__u16vstring>, hash<__u32vstring>): Likewise. + * include/ext/vstring_fwd.h [!_GLIBCXX_USE_C99_STDINT_TR1] + (__u16vstring, __u16sso_string, __u16rc_string, __u32vstring) + (__u32sso_string, __u32rc_string): Likewise. + * include/std/codecvt [!_GLIBCXX_USE_C99_STDINT_TR1] (codecvt_mode) + (codecvt_utf8, codecvt_utf16, codecvt_utf8_utf16): Likewise. + * include/std/string_view [!_GLIBCXX_USE_C99_STDINT_TR1] + (u16string_view, u32string_view, hash) + (hash, operator""sv(const char16_t, size_t)) + (operator""sv(const char32_t, size_t)): Likewise. + * src/c++11/codecvt.cc: Likewise. + * src/c++98/locale_init.cc: Likewise. + * src/c++98/localename.cc: Likewise. + * include/bits/atomic_futex.h [!_GLIBCXX_USE_C99_STDINT_TR1] (__atomic_futex_unsigned_base): Remove dependency on _GLIBCXX_USE_C99_STDINT_TR1 macro. diff --git a/libstdc++-v3/include/bits/basic_string.h b/libstdc++-v3/include/bits/basic_string.h index 2d1b9dc6c29..c9463989ddc 100644 --- a/libstdc++-v3/include/bits/basic_string.h +++ b/libstdc++-v3/include/bits/basic_string.h @@ -6662,7 +6662,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION #endif #endif /* _GLIBCXX_COMPATIBILITY_CXX0X */ -#ifdef _GLIBCXX_USE_C99_STDINT_TR1 /// std::hash specialization for u16string. template<> struct hash @@ -6692,7 +6691,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION template<> struct __is_fast_hash> : std::false_type { }; -#endif #if __cplusplus > 201103L @@ -6716,7 +6714,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION { return basic_string{__str, __len}; } #endif -#ifdef _GLIBCXX_USE_C99_STDINT_TR1 _GLIBCXX_DEFAULT_ABI_TAG inline basic_string operator""s(const char16_t* __str, size_t __len) @@ -6726,7 +6723,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION inline basic_string operator""s(const char32_t* __str, size_t __len) { return basic_string{__str, __len}; } -#endif #pragma GCC diagnostic pop } // inline namespace string_literals diff --git a/libstdc++-v3/include/bits/char_traits.h b/libstdc++-v3/include/bits/char_traits.h index 7cc7c74e8fe..63e810715f8 100644 --- a/libstdc++-v3/include/bits/char_traits.h +++ b/libstdc++-v3/include/bits/char_traits.h @@ -41,7 +41,7 @@ #include // For WEOF, wmemmove, wmemset, etc. #ifndef _GLIBCXX_ALWAYS_INLINE -#define _GLIBCXX_ALWAYS_INLINE inline __attribute__((__always_inline__)) +# define _GLIBCXX_ALWAYS_INLINE inline __attribute__((__always_inline__)) #endif namespace __gnu_cxx _GLIBCXX_VISIBILITY(default) @@ -495,8 +495,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION _GLIBCXX_END_NAMESPACE_VERSION } // namespace -#if ((__cplusplus >= 201103L) \ - && defined(_GLIBCXX_USE_C99_STDINT_TR1)) +#if __cplusplus >= 201103L #include @@ -508,7 +507,13 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION struct char_traits { typedef char16_t char_type; +#ifdef _GLIBCXX_USE_C99_STDINT_TR1 typedef uint_least16_t int_type; +#elif defined __UINT_LEAST16_TYPE__ + typedef __UINT_LEAST16_TYPE__ int_type; +#else + typedef make_unsigned::type int_type; +#endif typedef streamoff off_type; typedef u16streampos pos_type; typedef mbstate_t state_type; @@ -605,7 +610,13 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION struct char_traits { typedef char32_t char_type; +#ifdef _GLIBCXX_USE_C99_STDINT_TR1 typedef uint_least32_t int_type; +#elif defined __UINT_LEAST32_TYPE__ + typedef __UINT_LEAST32_TYPE__ int_type; +#else + typedef make_unsigned::type int_type; +#endif typedef streamoff off_type; typedef u32streampos pos_type; typedef mbstate_t state_type; @@ -701,6 +712,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION _GLIBCXX_END_NAMESPACE_VERSION } // namespace -#endif +#endif // C++11 #endif // _CHAR_TRAITS_H diff --git a/libstdc++-v3/include/bits/codecvt.h b/libstdc++-v3/include/bits/codecvt.h index b61df0a7e22..bafa28c3a00 100644 --- a/libstdc++-v3/include/bits/codecvt.h +++ b/libstdc++-v3/include/bits/codecvt.h @@ -459,7 +459,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION #endif //_GLIBCXX_USE_WCHAR_T #if __cplusplus >= 201103L -#ifdef _GLIBCXX_USE_C99_STDINT_TR1 /** @brief Class codecvt specialization. * * Converts between UTF-16 and UTF-8. @@ -574,7 +573,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION do_max_length() const throw(); }; -#endif // _GLIBCXX_USE_C99_STDINT_TR1 #endif // C++11 /// class codecvt_byname [22.2.1.6]. @@ -605,7 +603,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ~codecvt_byname() { } }; -#if __cplusplus >= 201103L && defined(_GLIBCXX_USE_C99_STDINT_TR1) +#if __cplusplus >= 201103L template<> class codecvt_byname : public codecvt @@ -641,7 +639,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION virtual ~codecvt_byname() { } }; -#endif +#endif // C++11 // Inhibit implicit instantiations for required instantiations, // which are defined via explicit instantiations elsewhere. @@ -668,7 +666,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION has_facet >(const locale&); #endif -#if __cplusplus >= 201103L && defined(_GLIBCXX_USE_C99_STDINT_TR1) +#if __cplusplus >= 201103L extern template class codecvt_byname; extern template class codecvt_byname; #endif diff --git a/libstdc++-v3/include/bits/locale_facets.h b/libstdc++-v3/include/bits/locale_facets.h index 7bce42232bb..f6e0283fec9 100644 --- a/libstdc++-v3/include/bits/locale_facets.h +++ b/libstdc++-v3/include/bits/locale_facets.h @@ -59,11 +59,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION # define _GLIBCXX_NUM_FACETS 14 # define _GLIBCXX_NUM_CXX11_FACETS 8 #endif -#ifdef _GLIBCXX_USE_C99_STDINT_TR1 -# define _GLIBCXX_NUM_UNICODE_FACETS 2 -#else -# define _GLIBCXX_NUM_UNICODE_FACETS 0 -#endif +#define _GLIBCXX_NUM_UNICODE_FACETS 2 // Convert string to numeric value of type _Tp and store results. // NB: This is specialized for all required types, there is no diff --git a/libstdc++-v3/include/bits/stringfwd.h b/libstdc++-v3/include/bits/stringfwd.h index cf39dbfe048..15eb7183633 100644 --- a/libstdc++-v3/include/bits/stringfwd.h +++ b/libstdc++-v3/include/bits/stringfwd.h @@ -58,8 +58,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION template<> struct char_traits; #endif -#if ((__cplusplus >= 201103L) \ - && defined(_GLIBCXX_USE_C99_STDINT_TR1)) +#if __cplusplus >= 201103L template<> struct char_traits; template<> struct char_traits; #endif @@ -78,8 +77,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CXX11 typedef basic_string wstring; #endif -#if ((__cplusplus >= 201103L) \ - && defined(_GLIBCXX_USE_C99_STDINT_TR1)) +#if __cplusplus >= 201103L /// A string of @c char16_t typedef basic_string u16string; diff --git a/libstdc++-v3/include/experimental/string_view b/libstdc++-v3/include/experimental/string_view index e42d5acde78..b3bc1a9fb4f 100644 --- a/libstdc++-v3/include/experimental/string_view +++ b/libstdc++-v3/include/experimental/string_view @@ -566,10 +566,8 @@ inline namespace fundamentals_v1 #ifdef _GLIBCXX_USE_WCHAR_T using wstring_view = basic_string_view; #endif -#ifdef _GLIBCXX_USE_C99_STDINT_TR1 using u16string_view = basic_string_view; using u32string_view = basic_string_view; -#endif } // namespace fundamentals_v1 } // namespace experimental @@ -607,7 +605,6 @@ inline namespace fundamentals_v1 { }; #endif -#ifdef _GLIBCXX_USE_C99_STDINT_TR1 template<> struct hash : public __hash_base @@ -635,7 +632,6 @@ inline namespace fundamentals_v1 template<> struct __is_fast_hash> : std::false_type { }; -#endif namespace experimental { @@ -656,7 +652,6 @@ namespace experimental { return basic_string_view{__str, __len}; } #endif -#ifdef _GLIBCXX_USE_C99_STDINT_TR1 inline constexpr basic_string_view operator""sv(const char16_t* __str, size_t __len) noexcept { return basic_string_view{__str, __len}; } @@ -664,7 +659,6 @@ namespace experimental inline constexpr basic_string_view operator""sv(const char32_t* __str, size_t __len) noexcept { return basic_string_view{__str, __len}; } -#endif #pragma GCC diagnostic pop } // namespace string_literals } // namespace literals diff --git a/libstdc++-v3/include/ext/vstring.h b/libstdc++-v3/include/ext/vstring.h index 605311e9a28..246684d555f 100644 --- a/libstdc++-v3/include/ext/vstring.h +++ b/libstdc++-v3/include/ext/vstring.h @@ -2933,7 +2933,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION }; #endif -#ifdef _GLIBCXX_USE_C99_STDINT_TR1 /// std::hash specialization for __u16vstring. template<> struct hash<__gnu_cxx::__u16vstring> @@ -2955,7 +2954,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION { return std::_Hash_impl::hash(__s.data(), __s.length() * sizeof(char32_t)); } }; -#endif _GLIBCXX_END_NAMESPACE_VERSION } // namespace diff --git a/libstdc++-v3/include/ext/vstring_fwd.h b/libstdc++-v3/include/ext/vstring_fwd.h index 7ca79981e3b..f2e6b4bdfa7 100644 --- a/libstdc++-v3/include/ext/vstring_fwd.h +++ b/libstdc++-v3/include/ext/vstring_fwd.h @@ -66,9 +66,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION std::allocator, __rc_string_base> __wrc_string; #endif -#if ((__cplusplus >= 201103L) \ - && defined(_GLIBCXX_USE_C99_STDINT_TR1)) - +#if __cplusplus >= 201103L typedef __versa_string __u16vstring; typedef __u16vstring __u16sso_string; typedef @@ -80,8 +78,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION typedef __versa_string, std::allocator, __rc_string_base> __u32rc_string; - -#endif +#endif // C++11 _GLIBCXX_END_NAMESPACE_VERSION } // namespace diff --git a/libstdc++-v3/include/std/codecvt b/libstdc++-v3/include/std/codecvt index 2a1bcdb6672..f765c674d78 100644 --- a/libstdc++-v3/include/std/codecvt +++ b/libstdc++-v3/include/std/codecvt @@ -40,8 +40,6 @@ #include #include -#ifdef _GLIBCXX_USE_C99_STDINT_TR1 - namespace std _GLIBCXX_VISIBILITY(default) { _GLIBCXX_BEGIN_NAMESPACE_VERSION @@ -174,8 +172,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION _GLIBCXX_END_NAMESPACE_VERSION } // namespace -#endif // _GLIBCXX_USE_C99_STDINT_TR1 - -#endif +#endif // C++11 #endif /* _GLIBCXX_CODECVT */ diff --git a/libstdc++-v3/include/std/string_view b/libstdc++-v3/include/std/string_view index f84664ca286..9e0f6a723e4 100644 --- a/libstdc++-v3/include/std/string_view +++ b/libstdc++-v3/include/std/string_view @@ -555,10 +555,9 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION #ifdef _GLIBCXX_USE_WCHAR_T using wstring_view = basic_string_view; #endif -#ifdef _GLIBCXX_USE_C99_STDINT_TR1 + using u16string_view = basic_string_view; using u32string_view = basic_string_view; -#endif // [string.view.hash], hash support: @@ -594,7 +593,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION { }; #endif -#ifdef _GLIBCXX_USE_C99_STDINT_TR1 template<> struct hash : public __hash_base @@ -622,7 +620,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION template<> struct __is_fast_hash> : std::false_type { }; -#endif inline namespace literals { @@ -640,7 +637,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION { return basic_string_view{__str, __len}; } #endif -#ifdef _GLIBCXX_USE_C99_STDINT_TR1 inline constexpr basic_string_view operator""sv(const char16_t* __str, size_t __len) noexcept { return basic_string_view{__str, __len}; } @@ -648,7 +644,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION inline constexpr basic_string_view operator""sv(const char32_t* __str, size_t __len) noexcept { return basic_string_view{__str, __len}; } -#endif + #pragma GCC diagnostic pop } // namespace string_literals } // namespace literals diff --git a/libstdc++-v3/src/c++11/codecvt.cc b/libstdc++-v3/src/c++11/codecvt.cc index 3a1a825070c..503f2fe1ff3 100644 --- a/libstdc++-v3/src/c++11/codecvt.cc +++ b/libstdc++-v3/src/c++11/codecvt.cc @@ -26,7 +26,6 @@ #include // std::memcpy, std::memcmp #include // std::min -#ifdef _GLIBCXX_USE_C99_STDINT_TR1 namespace std _GLIBCXX_VISIBILITY(default) { _GLIBCXX_BEGIN_NAMESPACE_VERSION @@ -1639,4 +1638,3 @@ template class codecvt_byname; _GLIBCXX_END_NAMESPACE_VERSION } -#endif // _GLIBCXX_USE_C99_STDINT_TR1 diff --git a/libstdc++-v3/src/c++98/locale_init.cc b/libstdc++-v3/src/c++98/locale_init.cc index fb3d8ab972a..5651c04b9ed 100644 --- a/libstdc++-v3/src/c++98/locale_init.cc +++ b/libstdc++-v3/src/c++98/locale_init.cc @@ -201,7 +201,6 @@ namespace fake_messages_w messages_w; #endif -#ifdef _GLIBCXX_USE_C99_STDINT_TR1 typedef char fake_codecvt_c16[sizeof(codecvt)] __attribute__ ((aligned(__alignof__(codecvt)))); fake_codecvt_c16 codecvt_c16; @@ -209,7 +208,6 @@ namespace typedef char fake_codecvt_c32[sizeof(codecvt)] __attribute__ ((aligned(__alignof__(codecvt)))); fake_codecvt_c32 codecvt_c32; -#endif // Storage for "C" locale caches. typedef char fake_num_cache_c[sizeof(std::__numpunct_cache)] @@ -329,7 +327,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION &std::ctype::id, &codecvt::id, #endif -#ifdef _GLIBCXX_USE_C99_STDINT_TR1 +#if _GLIBCXX_NUM_UNICODE_FACETS != 0 &codecvt::id, &codecvt::id, #endif @@ -536,7 +534,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION _M_init_facet(new (&messages_w) std::messages(1)); #endif -#ifdef _GLIBCXX_USE_C99_STDINT_TR1 +#ifdef _GLIBCXX_NUM_UNICODE_FACETS != 0 _M_init_facet(new (&codecvt_c16) codecvt(1)); _M_init_facet(new (&codecvt_c32) codecvt(1)); #endif diff --git a/libstdc++-v3/src/c++98/localename.cc b/libstdc++-v3/src/c++98/localename.cc index 7723f6afbe8..afb43e5cea9 100644 --- a/libstdc++-v3/src/c++98/localename.cc +++ b/libstdc++-v3/src/c++98/localename.cc @@ -269,7 +269,7 @@ const int num_facets = _GLIBCXX_NUM_FACETS + _GLIBCXX_NUM_UNICODE_FACETS _M_init_facet(new std::messages(__cloc, __s)); #endif -#ifdef _GLIBCXX_USE_C99_STDINT_TR1 +#if _GLIBCXX_NUM_UNICODE_FACETS != 0 _M_init_facet(new codecvt); _M_init_facet(new codecvt); #endif From patchwork Thu Jul 26 14:01:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 949693 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-482448-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="s1BA1M9s"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41bv231Z1qz9rxx for ; Fri, 27 Jul 2018 00:03:07 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:in-reply-to:references:in-reply-to :references; q=dns; s=default; b=QJMYbVmqnuI/0hse5gKSLL4vtOHydAE kQplahSDZEmaZivjXAeCqcmsGfjcDZm8ckxv8lUhsGwR970AUCPvTxdlRAWq/nhZ /eT2vROxeVLV39q2Pd1z5RH05aeezVDsYybXfWcxIeFeBOFxqoEM1kDFL3qN6x/M xk3/MtGxmlZ0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:in-reply-to:references:in-reply-to :references; s=default; bh=2eZQZrsCeE/w594d8NQcAzRbMRE=; b=s1BA1 M9stag5UbZDXnd7B9ZjXB03iOkzZrmsVEDUvnJtGipb/iD5H0L6Xz6U/7DsJ9sUT V61Rw4nG4MoFQn5e/wuCwTDeIoyeOrX4C/zs9ixCCv8UIfDvFgmN21WDmQ6IICNx aIkyI1ayXdaL/HjLa/0r+tL8UhgdRkE5Ajvb48= Received: (qmail 71927 invoked by alias); 26 Jul 2018 14:02:17 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 71750 invoked by uid 89); 26 Jul 2018 14:02:16 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.0 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=bucket, __x, sk:_GLIBCX, sk:_glibcx X-HELO: mx1.redhat.com Received: from mx3-rdu2.redhat.com (HELO mx1.redhat.com) (66.187.233.73) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 26 Jul 2018 14:02:11 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 06D2940216E8; Thu, 26 Jul 2018 14:02:10 +0000 (UTC) Received: from localhost (unknown [10.33.36.95]) by smtp.corp.redhat.com (Postfix) with ESMTP id B8F0B21568A1; Thu, 26 Jul 2018 14:02:09 +0000 (UTC) From: jwakely@redhat.com To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [PATCH 3/8] Modify some library internals to work without Date: Thu, 26 Jul 2018 15:01:52 +0100 Message-Id: <34bf5979aac782b73d56c6627625fb340ffa5dca.1532613690.git.jwakely@redhat.com> In-Reply-To: References: In-Reply-To: References: From: Jonathan Wakely std::__detail::__clp2 used uint_fast32_t and uint_fast64_t without checking _GLIBCXX_USE_C99_STDINT_TR1 which was a potential bug. A simpler implementation based on the new std::__ceil2 code performs better and doesn't depend on types. std::align and other C++11 functions in where unnecessarily missing when _GLIBCXX_USE_C99_STDINT_TR1 was not defined. * include/bits/hashtable_policy.h (__detail::__clp2): Use faster implementation that doesn't depend on types. * include/std/memory (align) [!_GLIBCXX_USE_C99_STDINT_TR1]: Use std::size_t when std::uintptr_t is not usable. [!_GLIBCXX_USE_C99_STDINT_TR1] (pointer_safety, declare_reachable) (undeclare_reachable, declare_no_pointers, undeclare_no_pointers): Define independent of _GLIBCXX_USE_C99_STDINT_TR1. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 10b1496af81..66ee23d1fc7 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,13 @@ 2018-07-26 Jonathan Wakely + * include/bits/hashtable_policy.h (__detail::__clp2): Use faster + implementation that doesn't depend on types. + * include/std/memory (align) [!_GLIBCXX_USE_C99_STDINT_TR1]: Use + std::size_t when std::uintptr_t is not usable. + [!_GLIBCXX_USE_C99_STDINT_TR1] (pointer_safety, declare_reachable) + (undeclare_reachable, declare_no_pointers, undeclare_no_pointers): + Define independent of _GLIBCXX_USE_C99_STDINT_TR1. + * include/bits/basic_string.h [!_GLIBCXX_USE_C99_STDINT_TR1] (hash, hash): Remove dependency on _GLIBCXX_USE_C99_STDINT_TR1. diff --git a/libstdc++-v3/include/bits/hashtable_policy.h b/libstdc++-v3/include/bits/hashtable_policy.h index 3ff6b14a90f..d7497711071 100644 --- a/libstdc++-v3/include/bits/hashtable_policy.h +++ b/libstdc++-v3/include/bits/hashtable_policy.h @@ -32,7 +32,7 @@ #define _HASHTABLE_POLICY_H 1 #include // for std::tuple, std::forward_as_tuple -#include // for std::uint_fast64_t +#include // for std::numeric_limits #include // for std::min. namespace std _GLIBCXX_VISIBILITY(default) @@ -504,27 +504,15 @@ namespace __detail { return __num & (__den - 1); } }; - /// Compute closest power of 2. - _GLIBCXX14_CONSTEXPR + /// Compute closest power of 2 not less than __n inline std::size_t __clp2(std::size_t __n) noexcept { -#if __SIZEOF_SIZE_T__ >= 8 - std::uint_fast64_t __x = __n; -#else - std::uint_fast32_t __x = __n; -#endif - // Algorithm from Hacker's Delight, Figure 3-3. - __x = __x - 1; - __x = __x | (__x >> 1); - __x = __x | (__x >> 2); - __x = __x | (__x >> 4); - __x = __x | (__x >> 8); - __x = __x | (__x >>16); -#if __SIZEOF_SIZE_T__ >= 8 - __x = __x | (__x >>32); -#endif - return __x + 1; + // Equivalent to return __n ? std::ceil2(__n) : 0; + if (__n < 2) + return __n; + return 1ul << (numeric_limits::digits + - __builtin_clzl(__n - 1ul)); } /// Rehash policy providing power of 2 bucket numbers. Avoids modulo diff --git a/libstdc++-v3/include/std/memory b/libstdc++-v3/include/std/memory index f3559a91327..9689540fb81 100644 --- a/libstdc++-v3/include/std/memory +++ b/libstdc++-v3/include/std/memory @@ -88,8 +88,7 @@ #endif #if __cplusplus >= 201103L -# include -# ifdef _GLIBCXX_USE_C99_STDINT_TR1 +#include namespace std _GLIBCXX_VISIBILITY(default) { _GLIBCXX_BEGIN_NAMESPACE_VERSION @@ -113,7 +112,14 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION inline void* align(size_t __align, size_t __size, void*& __ptr, size_t& __space) noexcept { +#ifdef _GLIBCXX_USE_C99_STDINT_TR1 const auto __intptr = reinterpret_cast(__ptr); +#else + // Cannot use std::uintptr_t so assume that std::size_t can be used instead. + static_assert(sizeof(size_t) >= sizeof(void*), + "std::size_t must be a suitable substitute for std::uintptr_t"); + const auto __intptr = reinterpret_cast(__ptr); +#endif const auto __aligned = (__intptr - 1u + __align) & -__align; const auto __diff = __aligned - __intptr; if ((__size + __diff) > __space) @@ -147,7 +153,6 @@ get_pointer_safety() noexcept { return pointer_safety::relaxed; } _GLIBCXX_END_NAMESPACE_VERSION } // namespace -#endif // _GLIBCXX_USE_C99_STDINT_TR1 #endif // C++11 #endif /* _GLIBCXX_MEMORY */ From patchwork Thu Jul 26 14:01:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 949695 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-482450-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="dE7mTv/E"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41bv2s4kD4z9rxx for ; Fri, 27 Jul 2018 00:03:49 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:in-reply-to:references:in-reply-to :references; q=dns; s=default; b=RsQvsf8QT5eUB5LiUs6MPIhVBP9JFqo P6FdlO5FfcnnajejczKSsUJK7fUagOlvxO/Jq/ZV6PHDZMfElgJg+59NDAnJjtJp NSheM+pJjrC2tRXnepPcprnn9jovnfBuejtS4mlCzAa9+1Q4rG4MDlzi51Mffll5 p8CBW1ivE26Q= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:in-reply-to:references:in-reply-to :references; s=default; bh=Qt07yaXVBVed/9yhmz1HLh7zWIs=; b=dE7mT v/EXYKNWUATDVRTKzSnWw1+EgDfB/uFYveuh27liypVc4WJCmT/BWgFMkFO9gBD9 blLrRgeGJFQvAAIwz+PANFVMMbhechc8BDdzuj/4syk3glumbIaoCt3ta76p9UVf x3pchVc59wfK0eoAsJWSkCqSB89c3JnB20v/eE= Received: (qmail 72869 invoked by alias); 26 Jul 2018 14:02:26 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 72789 invoked by uid 89); 26 Jul 2018 14:02:25 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.6 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_NUMSUBJECT autolearn=ham version=3.3.2 spammy=1987, 9217, 1986, 921, 7 X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (208.118.235.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 26 Jul 2018 14:02:19 +0000 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1figqN-0003MB-01 for gcc-patches@gcc.gnu.org; Thu, 26 Jul 2018 10:02:18 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:42154 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1figqM-0003Hi-Qi; Thu, 26 Jul 2018 10:02:14 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E7BC340216E9; Thu, 26 Jul 2018 14:02:10 +0000 (UTC) Received: from localhost (unknown [10.33.36.95]) by smtp.corp.redhat.com (Postfix) with ESMTP id AA9981C5B0; Thu, 26 Jul 2018 14:02:10 +0000 (UTC) From: jwakely@redhat.com To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [PATCH 4/8] Add missing checks for _GLIBCXX_USE_C99_STDINT_TR1 Date: Thu, 26 Jul 2018 15:01:53 +0100 Message-Id: <64b4e830638207728fe4b33f16f8c11811dab676.1532613690.git.jwakely@redhat.com> In-Reply-To: References: In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.187.233.73 From: Jonathan Wakely The throw_allocator extension depends on which depends on _GLIBCXX_USE_C99_STDINT_TR1. The Transactional Memory support uses fixed-width integer types from . * 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 not usable. * src/c++11/cow-stdexcept.cc [!_GLIBCXX_USE_C99_STDINT_TR1]: Do not define transactional memory support when is not usable. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 66ee23d1fc7..285ea6b7dca 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,12 @@ 2018-07-26 Jonathan Wakely + * 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 + not usable. + * src/c++11/cow-stdexcept.cc [!_GLIBCXX_USE_C99_STDINT_TR1]: Do not + define transactional memory support when is not usable. + * include/bits/hashtable_policy.h (__detail::__clp2): Use faster implementation that doesn't depend on types. * include/std/memory (align) [!_GLIBCXX_USE_C99_STDINT_TR1]: Use diff --git a/libstdc++-v3/include/ext/throw_allocator.h b/libstdc++-v3/include/ext/throw_allocator.h index 7fd2ca149a0..dd7c692222e 100644 --- a/libstdc++-v3/include/ext/throw_allocator.h +++ b/libstdc++-v3/include/ext/throw_allocator.h @@ -482,7 +482,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION } }; - +#ifdef _GLIBCXX_USE_C99_STDINT_TR1 /** * @brief Base class for random probability control and throw. */ @@ -596,7 +596,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION return _S_e; } }; - +#endif // _GLIBCXX_USE_C99_STDINT_TR1 /** * @brief Class with exception generation control. Intended to be @@ -752,6 +752,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION #endif }; +#ifdef _GLIBCXX_USE_C99_STDINT_TR1 /// Type throwing via random condition. struct throw_value_random : public throw_value_base { @@ -782,7 +783,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION operator=(throw_value_random&&) = default; #endif }; - +#endif // _GLIBCXX_USE_C99_STDINT_TR1 /** * @brief Allocator class with logging and exception generation control. @@ -920,6 +921,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ~throw_allocator_limit() _GLIBCXX_USE_NOEXCEPT { } }; +#ifdef _GLIBCXX_USE_C99_STDINT_TR1 /// Allocator throwing via random condition. template struct throw_allocator_random @@ -940,6 +942,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ~throw_allocator_random() _GLIBCXX_USE_NOEXCEPT { } }; +#endif // _GLIBCXX_USE_C99_STDINT_TR1 _GLIBCXX_END_NAMESPACE_VERSION } // namespace @@ -965,6 +968,7 @@ namespace std _GLIBCXX_VISIBILITY(default) } }; +#ifdef _GLIBCXX_USE_C99_STDINT_TR1 /// Explicit specialization of std::hash for __gnu_cxx::throw_value_random. template<> struct hash<__gnu_cxx::throw_value_random> @@ -979,6 +983,7 @@ namespace std _GLIBCXX_VISIBILITY(default) return __result; } }; +#endif } // end namespace std #endif diff --git a/libstdc++-v3/src/c++11/cow-stdexcept.cc b/libstdc++-v3/src/c++11/cow-stdexcept.cc index a2df7892fd4..54859d58820 100644 --- a/libstdc++-v3/src/c++11/cow-stdexcept.cc +++ b/libstdc++-v3/src/c++11/cow-stdexcept.cc @@ -198,6 +198,7 @@ _GLIBCXX_END_NAMESPACE_VERSION // declared transaction-safe, so we just don't provide transactional clones // in this case. #if _GLIBCXX_USE_WEAK_REF +#ifdef _GLIBCXX_USE_C99_STDINT_TR1 extern "C" { @@ -456,4 +457,5 @@ CTORDTOR(15underflow_error, std::underflow_error, runtime_error) } +#endif // _GLIBCXX_USE_C99_STDINT_TR1 #endif // _GLIBCXX_USE_WEAK_REF From patchwork Thu Jul 26 14:01:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 949700 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-482453-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="cxMMOjv0"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41bv4R1Cd3z9ryl for ; Fri, 27 Jul 2018 00:05:10 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:in-reply-to:references:mime-version :in-reply-to:references:content-type:content-transfer-encoding; q=dns; s=default; b=KCpjRTZBJizt/XpZ6EAvFYJO5dVMXni+HJTAxVREvit vbH5YdyoJdW8G90xIvi/NadvHm8sOOEpTYpxvHoR1RSe8aDq+cpCnGXwqbRgXQXW 7BJ4eeswFir8/yXEG4GOLMevAKg6YpkGOPxByhEeYaSo1c5jgJqDAzNQT9si/e5U = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:in-reply-to:references:mime-version :in-reply-to:references:content-type:content-transfer-encoding; s=default; bh=J2pwy0G/xXNpcBwYCaOcnd0v54c=; b=cxMMOjv0mHoqFmLnr xPiwW2Te6HiMwZJ6d9XKgzdNkh+YzUgOMY2DGEPsnL8vfD4gLSCkefXveWVu6/cZ KTlhY8TN1NOShmPq8qbXpiCJzzsGnFZcxvUMRmem9z5wES8V7y/41f9aQExvMWvR BpGxyujzOwkyohKO75+SXzAths= Received: (qmail 73967 invoked by alias); 26 Jul 2018 14:02:33 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 73675 invoked by uid 89); 26 Jul 2018 14:02:30 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, TIME_LIMIT_EXCEEDED autolearn=unavailable version=3.3.2 spammy=Chris, qualify, Qualify, dgskipif X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (208.118.235.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 26 Jul 2018 14:02:20 +0000 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1figqN-0003NL-Nz for gcc-patches@gcc.gnu.org; Thu, 26 Jul 2018 10:02:18 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:42948 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1figqN-0003J6-GP; Thu, 26 Jul 2018 10:02:15 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3808880D2F6B; Thu, 26 Jul 2018 14:02:12 +0000 (UTC) Received: from localhost (unknown [10.33.36.95]) by smtp.corp.redhat.com (Postfix) with ESMTP id 99C0910FFE54; Thu, 26 Jul 2018 14:02:11 +0000 (UTC) From: jwakely@redhat.com To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [PATCH 5/8] Remove dg-require-cstdint directive from tests Date: Thu, 26 Jul 2018 15:01:54 +0100 Message-Id: <3ae494c93925c19771250412ac08519a72083ff9.1532613690.git.jwakely@redhat.com> In-Reply-To: References: MIME-Version: 1.0 In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.187.233.73 From: Jonathan Wakely 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. 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. From patchwork Thu Jul 26 14:01:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 949697 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-482451-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="oq7fdXSX"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41bv3M3ZDFz9ryl for ; Fri, 27 Jul 2018 00:04:15 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:in-reply-to:references:in-reply-to :references; q=dns; s=default; b=CTlxYvvJ1Vz5Rcze1CXdi+T5jQ4VebJ xAFNH+GhCCve2/In6zjkyF/EeUztTvZX7pqwWeASurRvjCXBDJI/G9TXvkxKUhDx V6BCj5c8du/lcHOAoxTtHbSOMgFm+tALccoRjgFBKldUD8vtsifXZvrNPlPCUyRp BRiHKpsXQgIM= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:in-reply-to:references:in-reply-to :references; s=default; bh=B/pPnDKzG+AiGEoBZVcwc+EmRhQ=; b=oq7fd XSXAMlLmckQZCS+rvUz8o24BePbBIUz51yZ5LRgM3iXfPD5NDOoimlUAmmPquGBk GOSPY5ngd3zBOyOqm7BCnv2dpbrxJYFL28SHQ5t/znvRATBZZ6Q2jk/EjBeOdQ80 4yHv8gp8if0kM62A+RBSwnHSJ9/TGz0Fz+YmKI= Received: (qmail 73046 invoked by alias); 26 Jul 2018 14:02:27 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 72846 invoked by uid 89); 26 Jul 2018 14:02:26 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.0 required=5.0 tests=GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS, TIME_LIMIT_EXCEEDED autolearn=unavailable version=3.3.2 spammy=qualify, Qualify X-HELO: mx1.redhat.com Received: from mx3-rdu2.redhat.com (HELO mx1.redhat.com) (66.187.233.73) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 26 Jul 2018 14:02:15 +0000 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 81BE14023ECB; Thu, 26 Jul 2018 14:02:13 +0000 (UTC) Received: from localhost (unknown [10.33.36.95]) by smtp.corp.redhat.com (Postfix) with ESMTP id DD4327C2C; Thu, 26 Jul 2018 14:02:12 +0000 (UTC) From: jwakely@redhat.com To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [PATCH 6/8] Remove dg-require-cstdint directive from tests Date: Thu, 26 Jul 2018 15:01:55 +0100 Message-Id: <4e585a698181be23894a7281a7e90a1e7fcefe9d.1532613690.git.jwakely@redhat.com> In-Reply-To: References: In-Reply-To: References: From: Jonathan Wakely Tests for components which are no longer dependent on _GLIBCXX_USE_C99_STDINT_TR1 do not need to require . * testsuite/30_threads/async/42819.cc: Remove dg-require-cstdint directive. * testsuite/30_threads/async/49668.cc: Likewise. * testsuite/30_threads/async/54297.cc: Likewise. * testsuite/30_threads/async/84532.cc: Likewise. * testsuite/30_threads/async/any.cc: Likewise. * testsuite/30_threads/async/async.cc: Likewise. * testsuite/30_threads/async/except.cc: Likewise. * testsuite/30_threads/async/forced_unwind.cc: Likewise. * testsuite/30_threads/async/launch.cc: Likewise. * testsuite/30_threads/async/lwg2021.cc: Likewise. * testsuite/30_threads/async/sync.cc: Likewise. * testsuite/30_threads/call_once/39909.cc: Likewise. * testsuite/30_threads/call_once/49668.cc: Likewise. * testsuite/30_threads/call_once/60497.cc: Likewise. * testsuite/30_threads/call_once/call_once1.cc: Likewise. * testsuite/30_threads/call_once/constexpr.cc: Likewise. * testsuite/30_threads/call_once/dr2442.cc: Likewise. * testsuite/30_threads/call_once/once_flag.cc: Likewise. * testsuite/30_threads/condition_variable/54185.cc: Likewise. * testsuite/30_threads/condition_variable/cons/1.cc: Likewise. * testsuite/30_threads/condition_variable/cons/assign_neg.cc: Likewise. * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise. * testsuite/30_threads/condition_variable/members/1.cc: Likewise. * testsuite/30_threads/condition_variable/members/2.cc: Likewise. * testsuite/30_threads/condition_variable/members/3.cc: Likewise. * testsuite/30_threads/condition_variable/members/53841.cc: Likewise. * testsuite/30_threads/condition_variable/members/68519.cc: Likewise. * testsuite/30_threads/condition_variable/native_handle/typesizes.cc: Likewise. * testsuite/30_threads/condition_variable/requirements/ standard_layout.cc: Likewise. * testsuite/30_threads/condition_variable/requirements/typedefs.cc: * Likewise. * testsuite/30_threads/condition_variable_any/50862.cc: Likewise. * testsuite/30_threads/condition_variable_any/53830.cc: Likewise. * testsuite/30_threads/condition_variable_any/cons/1.cc: Likewise. * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc: Likewise. * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc: Likewise. * testsuite/30_threads/condition_variable_any/members/1.cc: Likewise. * testsuite/30_threads/condition_variable_any/members/2.cc: Likewise. * testsuite/30_threads/future/cons/assign_neg.cc: Likewise. * testsuite/30_threads/future/cons/constexpr.cc: Likewise. * testsuite/30_threads/future/cons/copy_neg.cc: Likewise. * testsuite/30_threads/future/cons/default.cc: Likewise. * testsuite/30_threads/future/cons/move.cc: Likewise. * testsuite/30_threads/future/cons/move_assign.cc: Likewise. * testsuite/30_threads/future/members/45133.cc: Likewise. * testsuite/30_threads/future/members/get.cc: Likewise. * testsuite/30_threads/future/members/get2.cc: Likewise. * testsuite/30_threads/future/members/share.cc: Likewise. * testsuite/30_threads/future/members/valid.cc: Likewise. * testsuite/30_threads/future/members/wait.cc: Likewise. * testsuite/30_threads/future/members/wait_for.cc: Likewise. * testsuite/30_threads/future/members/wait_until.cc: Likewise. * testsuite/30_threads/future/requirements/explicit_instantiation.cc: Likewise. * testsuite/30_threads/headers/condition_variable/types_std_c++0x.cc: Likewise. * testsuite/30_threads/headers/future/types_std_c++0x.cc: Likewise. * testsuite/30_threads/headers/mutex/types_std_c++0x.cc: Likewise. * testsuite/30_threads/headers/thread/std_c++0x_neg.cc: Likewise. * testsuite/30_threads/headers/thread/types_std_c++0x.cc: Likewise. * testsuite/30_threads/lock/1.cc: Likewise. * testsuite/30_threads/lock/2.cc: Likewise. * testsuite/30_threads/lock/3.cc: Likewise. * testsuite/30_threads/lock/4.cc: Likewise. * testsuite/30_threads/lock_guard/cons/1.cc: Likewise. * testsuite/30_threads/lock_guard/requirements/ explicit_instantiation.cc: Likewise. * testsuite/30_threads/lock_guard/requirements/typedefs.cc: Likewise. * testsuite/30_threads/mutex/cons/1.cc: Likewise. * testsuite/30_threads/mutex/cons/assign_neg.cc: Likewise. * testsuite/30_threads/mutex/cons/constexpr.cc: Likewise. * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise. * testsuite/30_threads/mutex/dest/destructor_locked.cc: Likewise. * testsuite/30_threads/mutex/lock/1.cc: Likewise. * testsuite/30_threads/mutex/native_handle/1.cc: Likewise. * testsuite/30_threads/mutex/native_handle/typesizes.cc: Likewise. * testsuite/30_threads/mutex/requirements/standard_layout.cc:: Likewise. * testsuite/30_threads/mutex/requirements/typedefs.cc: Likewise. * testsuite/30_threads/mutex/try_lock/1.cc: Likewise. * testsuite/30_threads/mutex/try_lock/2.cc: Likewise. * testsuite/30_threads/mutex/unlock/1.cc: Likewise. * testsuite/30_threads/mutex/unlock/2.cc: Likewise. * testsuite/30_threads/once_flag/cons/constexpr.cc: Likewise. * testsuite/30_threads/packaged_task/49668.cc: Likewise. * testsuite/30_threads/packaged_task/60564.cc: Likewise. * testsuite/30_threads/packaged_task/cons/1.cc: Likewise. * testsuite/30_threads/packaged_task/cons/2.cc: Likewise. * testsuite/30_threads/packaged_task/cons/3.cc: Likewise. * testsuite/30_threads/packaged_task/cons/56492.cc: Likewise. * testsuite/30_threads/packaged_task/cons/alloc.cc: Likewise. * testsuite/30_threads/packaged_task/cons/alloc2.cc: Likewise. * testsuite/30_threads/packaged_task/cons/alloc_min.cc: Likewise. * testsuite/30_threads/packaged_task/cons/assign_neg.cc: Likewise. * testsuite/30_threads/packaged_task/cons/copy_neg.cc: Likewise. * testsuite/30_threads/packaged_task/cons/move.cc: Likewise. * testsuite/30_threads/packaged_task/cons/move_assign.cc: Likewise. * testsuite/30_threads/packaged_task/members/at_thread_exit.cc: Likewise. * testsuite/30_threads/packaged_task/members/get_future.cc: Likewise. * testsuite/30_threads/packaged_task/members/get_future2.cc: Likewise. * testsuite/30_threads/packaged_task/members/invoke.cc: Likewise. * testsuite/30_threads/packaged_task/members/invoke2.cc: Likewise. * testsuite/30_threads/packaged_task/members/invoke3.cc: Likewise. * testsuite/30_threads/packaged_task/members/invoke4.cc: Likewise. * testsuite/30_threads/packaged_task/members/invoke5.cc: Likewise. * testsuite/30_threads/packaged_task/members/reset.cc: Likewise. * testsuite/30_threads/packaged_task/members/reset2.cc: Likewise. * testsuite/30_threads/packaged_task/members/swap.cc: Likewise. * testsuite/30_threads/packaged_task/members/valid.cc: Likewise. * testsuite/30_threads/packaged_task/requirements/ explicit_instantiation.cc: Likewise. * testsuite/30_threads/packaged_task/uses_allocator.cc: Likewise. * testsuite/30_threads/promise/60966.cc: Likewise. * testsuite/30_threads/promise/69106.cc: Likewise. * testsuite/30_threads/promise/cons/1.cc: Likewise. * testsuite/30_threads/promise/cons/alloc.cc: Likewise. * testsuite/30_threads/promise/cons/alloc2.cc: Likewise. * testsuite/30_threads/promise/cons/alloc_min.cc: Likewise. * testsuite/30_threads/promise/cons/assign_neg.cc: Likewise. * testsuite/30_threads/promise/cons/copy_neg.cc: Likewise. * testsuite/30_threads/promise/cons/move.cc: Likewise. * testsuite/30_threads/promise/cons/move_assign.cc: Likewise. * testsuite/30_threads/promise/members/at_thread_exit.cc: Likewise. * testsuite/30_threads/promise/members/at_thread_exit2.cc: Likewise. * testsuite/30_threads/promise/members/get_future.cc: Likewise. * testsuite/30_threads/promise/members/get_future2.cc: Likewise. * testsuite/30_threads/promise/members/set_exception.cc: Likewise. * testsuite/30_threads/promise/members/set_exception2.cc: Likewise. * testsuite/30_threads/promise/members/set_value.cc: Likewise. * testsuite/30_threads/promise/members/set_value2.cc: Likewise. * testsuite/30_threads/promise/members/set_value3.cc: Likewise. * testsuite/30_threads/promise/members/swap.cc: Likewise. * testsuite/30_threads/promise/requirements/explicit_instantiation.cc: * Likewise. * testsuite/30_threads/promise/uses_allocator.cc: Likewise. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 028f269e6f4..8f903a14fde 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,148 @@ 2018-07-26 Jonathan Wakely + * testsuite/30_threads/async/42819.cc: Remove dg-require-cstdint + directive. + * testsuite/30_threads/async/49668.cc: Likewise. + * testsuite/30_threads/async/54297.cc: Likewise. + * testsuite/30_threads/async/84532.cc: Likewise. + * testsuite/30_threads/async/any.cc: Likewise. + * testsuite/30_threads/async/async.cc: Likewise. + * testsuite/30_threads/async/except.cc: Likewise. + * testsuite/30_threads/async/forced_unwind.cc: Likewise. + * testsuite/30_threads/async/launch.cc: Likewise. + * testsuite/30_threads/async/lwg2021.cc: Likewise. + * testsuite/30_threads/async/sync.cc: Likewise. + * testsuite/30_threads/call_once/39909.cc: Likewise. + * testsuite/30_threads/call_once/49668.cc: Likewise. + * testsuite/30_threads/call_once/60497.cc: Likewise. + * testsuite/30_threads/call_once/call_once1.cc: Likewise. + * testsuite/30_threads/call_once/constexpr.cc: Likewise. + * testsuite/30_threads/call_once/dr2442.cc: Likewise. + * testsuite/30_threads/call_once/once_flag.cc: Likewise. + * testsuite/30_threads/condition_variable/54185.cc: Likewise. + * testsuite/30_threads/condition_variable/cons/1.cc: Likewise. + * testsuite/30_threads/condition_variable/cons/assign_neg.cc: + Likewise. + * testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise. + * testsuite/30_threads/condition_variable/members/1.cc: Likewise. + * testsuite/30_threads/condition_variable/members/2.cc: Likewise. + * testsuite/30_threads/condition_variable/members/3.cc: Likewise. + * testsuite/30_threads/condition_variable/members/53841.cc: Likewise. + * testsuite/30_threads/condition_variable/members/68519.cc: Likewise. + * testsuite/30_threads/condition_variable/native_handle/typesizes.cc: + Likewise. + * testsuite/30_threads/condition_variable/requirements/ + standard_layout.cc: Likewise. + * testsuite/30_threads/condition_variable/requirements/typedefs.cc: + * Likewise. + * testsuite/30_threads/condition_variable_any/50862.cc: Likewise. + * testsuite/30_threads/condition_variable_any/53830.cc: Likewise. + * testsuite/30_threads/condition_variable_any/cons/1.cc: Likewise. + * testsuite/30_threads/condition_variable_any/cons/assign_neg.cc: + Likewise. + * testsuite/30_threads/condition_variable_any/cons/copy_neg.cc: + Likewise. + * testsuite/30_threads/condition_variable_any/members/1.cc: Likewise. + * testsuite/30_threads/condition_variable_any/members/2.cc: Likewise. + * testsuite/30_threads/future/cons/assign_neg.cc: Likewise. + * testsuite/30_threads/future/cons/constexpr.cc: Likewise. + * testsuite/30_threads/future/cons/copy_neg.cc: Likewise. + * testsuite/30_threads/future/cons/default.cc: Likewise. + * testsuite/30_threads/future/cons/move.cc: Likewise. + * testsuite/30_threads/future/cons/move_assign.cc: Likewise. + * testsuite/30_threads/future/members/45133.cc: Likewise. + * testsuite/30_threads/future/members/get.cc: Likewise. + * testsuite/30_threads/future/members/get2.cc: Likewise. + * testsuite/30_threads/future/members/share.cc: Likewise. + * testsuite/30_threads/future/members/valid.cc: Likewise. + * testsuite/30_threads/future/members/wait.cc: Likewise. + * testsuite/30_threads/future/members/wait_for.cc: Likewise. + * testsuite/30_threads/future/members/wait_until.cc: Likewise. + * testsuite/30_threads/future/requirements/explicit_instantiation.cc: + Likewise. + * testsuite/30_threads/headers/condition_variable/types_std_c++0x.cc: + Likewise. + * testsuite/30_threads/headers/future/types_std_c++0x.cc: Likewise. + * testsuite/30_threads/headers/mutex/types_std_c++0x.cc: Likewise. + * testsuite/30_threads/headers/thread/std_c++0x_neg.cc: Likewise. + * testsuite/30_threads/headers/thread/types_std_c++0x.cc: Likewise. + * testsuite/30_threads/lock/1.cc: Likewise. + * testsuite/30_threads/lock/2.cc: Likewise. + * testsuite/30_threads/lock/3.cc: Likewise. + * testsuite/30_threads/lock/4.cc: Likewise. + * testsuite/30_threads/lock_guard/cons/1.cc: Likewise. + * testsuite/30_threads/lock_guard/requirements/ + explicit_instantiation.cc: Likewise. + * testsuite/30_threads/lock_guard/requirements/typedefs.cc: Likewise. + * testsuite/30_threads/mutex/cons/1.cc: Likewise. + * testsuite/30_threads/mutex/cons/assign_neg.cc: Likewise. + * testsuite/30_threads/mutex/cons/constexpr.cc: Likewise. + * testsuite/30_threads/mutex/cons/copy_neg.cc: Likewise. + * testsuite/30_threads/mutex/dest/destructor_locked.cc: Likewise. + * testsuite/30_threads/mutex/lock/1.cc: Likewise. + * testsuite/30_threads/mutex/native_handle/1.cc: Likewise. + * testsuite/30_threads/mutex/native_handle/typesizes.cc: Likewise. + * testsuite/30_threads/mutex/requirements/standard_layout.cc:: + Likewise. + * testsuite/30_threads/mutex/requirements/typedefs.cc: Likewise. + * testsuite/30_threads/mutex/try_lock/1.cc: Likewise. + * testsuite/30_threads/mutex/try_lock/2.cc: Likewise. + * testsuite/30_threads/mutex/unlock/1.cc: Likewise. + * testsuite/30_threads/mutex/unlock/2.cc: Likewise. + * testsuite/30_threads/once_flag/cons/constexpr.cc: Likewise. + * testsuite/30_threads/packaged_task/49668.cc: Likewise. + * testsuite/30_threads/packaged_task/60564.cc: Likewise. + * testsuite/30_threads/packaged_task/cons/1.cc: Likewise. + * testsuite/30_threads/packaged_task/cons/2.cc: Likewise. + * testsuite/30_threads/packaged_task/cons/3.cc: Likewise. + * testsuite/30_threads/packaged_task/cons/56492.cc: Likewise. + * testsuite/30_threads/packaged_task/cons/alloc.cc: Likewise. + * testsuite/30_threads/packaged_task/cons/alloc2.cc: Likewise. + * testsuite/30_threads/packaged_task/cons/alloc_min.cc: Likewise. + * testsuite/30_threads/packaged_task/cons/assign_neg.cc: Likewise. + * testsuite/30_threads/packaged_task/cons/copy_neg.cc: Likewise. + * testsuite/30_threads/packaged_task/cons/move.cc: Likewise. + * testsuite/30_threads/packaged_task/cons/move_assign.cc: Likewise. + * testsuite/30_threads/packaged_task/members/at_thread_exit.cc: + Likewise. + * testsuite/30_threads/packaged_task/members/get_future.cc: Likewise. + * testsuite/30_threads/packaged_task/members/get_future2.cc: Likewise. + * testsuite/30_threads/packaged_task/members/invoke.cc: Likewise. + * testsuite/30_threads/packaged_task/members/invoke2.cc: Likewise. + * testsuite/30_threads/packaged_task/members/invoke3.cc: Likewise. + * testsuite/30_threads/packaged_task/members/invoke4.cc: Likewise. + * testsuite/30_threads/packaged_task/members/invoke5.cc: Likewise. + * testsuite/30_threads/packaged_task/members/reset.cc: Likewise. + * testsuite/30_threads/packaged_task/members/reset2.cc: Likewise. + * testsuite/30_threads/packaged_task/members/swap.cc: Likewise. + * testsuite/30_threads/packaged_task/members/valid.cc: Likewise. + * testsuite/30_threads/packaged_task/requirements/ + explicit_instantiation.cc: Likewise. + * testsuite/30_threads/packaged_task/uses_allocator.cc: Likewise. + * testsuite/30_threads/promise/60966.cc: Likewise. + * testsuite/30_threads/promise/69106.cc: Likewise. + * testsuite/30_threads/promise/cons/1.cc: Likewise. + * testsuite/30_threads/promise/cons/alloc.cc: Likewise. + * testsuite/30_threads/promise/cons/alloc2.cc: Likewise. + * testsuite/30_threads/promise/cons/alloc_min.cc: Likewise. + * testsuite/30_threads/promise/cons/assign_neg.cc: Likewise. + * testsuite/30_threads/promise/cons/copy_neg.cc: Likewise. + * testsuite/30_threads/promise/cons/move.cc: Likewise. + * testsuite/30_threads/promise/cons/move_assign.cc: Likewise. + * testsuite/30_threads/promise/members/at_thread_exit.cc: Likewise. + * testsuite/30_threads/promise/members/at_thread_exit2.cc: Likewise. + * testsuite/30_threads/promise/members/get_future.cc: Likewise. + * testsuite/30_threads/promise/members/get_future2.cc: Likewise. + * testsuite/30_threads/promise/members/set_exception.cc: Likewise. + * testsuite/30_threads/promise/members/set_exception2.cc: Likewise. + * testsuite/30_threads/promise/members/set_value.cc: Likewise. + * testsuite/30_threads/promise/members/set_value2.cc: Likewise. + * testsuite/30_threads/promise/members/set_value3.cc: Likewise. + * testsuite/30_threads/promise/members/swap.cc: Likewise. + * testsuite/30_threads/promise/requirements/explicit_instantiation.cc: + * Likewise. + * testsuite/30_threads/promise/uses_allocator.cc: Likewise. + * 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. diff --git a/libstdc++-v3/testsuite/30_threads/async/42819.cc b/libstdc++-v3/testsuite/30_threads/async/42819.cc index dbe36167c58..d6b7fd546e3 100644 --- a/libstdc++-v3/testsuite/30_threads/async/42819.cc +++ b/libstdc++-v3/testsuite/30_threads/async/42819.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) 2010-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/async/49668.cc b/libstdc++-v3/testsuite/30_threads/async/49668.cc index 8493c2a6ff2..a5eae0b9161 100644 --- a/libstdc++-v3/testsuite/30_threads/async/49668.cc +++ b/libstdc++-v3/testsuite/30_threads/async/49668.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) 2011-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/async/54297.cc b/libstdc++-v3/testsuite/30_threads/async/54297.cc index f8a11cc5d15..ade67ead157 100644 --- a/libstdc++-v3/testsuite/30_threads/async/54297.cc +++ b/libstdc++-v3/testsuite/30_threads/async/54297.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-sleep "" } diff --git a/libstdc++-v3/testsuite/30_threads/async/84532.cc b/libstdc++-v3/testsuite/30_threads/async/84532.cc index 480ed733ca3..9563bf6fed3 100644 --- a/libstdc++-v3/testsuite/30_threads/async/84532.cc +++ b/libstdc++-v3/testsuite/30_threads/async/84532.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/async/any.cc b/libstdc++-v3/testsuite/30_threads/async/any.cc index b0e33ba6318..400562c6186 100644 --- a/libstdc++-v3/testsuite/30_threads/async/any.cc +++ b/libstdc++-v3/testsuite/30_threads/async/any.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) 2010-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/async/async.cc b/libstdc++-v3/testsuite/30_threads/async/async.cc index 8071cb133fc..4c2cdd1a534 100644 --- a/libstdc++-v3/testsuite/30_threads/async/async.cc +++ b/libstdc++-v3/testsuite/30_threads/async/async.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) 2010-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/async/except.cc b/libstdc++-v3/testsuite/30_threads/async/except.cc index f25ad180592..1233a2de370 100644 --- a/libstdc++-v3/testsuite/30_threads/async/except.cc +++ b/libstdc++-v3/testsuite/30_threads/async/except.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) 2010-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/async/forced_unwind.cc b/libstdc++-v3/testsuite/30_threads/async/forced_unwind.cc index a88d954930a..8d725c13bf2 100644 --- a/libstdc++-v3/testsuite/30_threads/async/forced_unwind.cc +++ b/libstdc++-v3/testsuite/30_threads/async/forced_unwind.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/30_threads/async/launch.cc b/libstdc++-v3/testsuite/30_threads/async/launch.cc index f2b1f97e45a..f4754e02df0 100644 --- a/libstdc++-v3/testsuite/30_threads/async/launch.cc +++ b/libstdc++-v3/testsuite/30_threads/async/launch.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) 2011-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/async/lwg2021.cc b/libstdc++-v3/testsuite/30_threads/async/lwg2021.cc index 688c0e9540e..a30027105c8 100644 --- a/libstdc++-v3/testsuite/30_threads/async/lwg2021.cc +++ b/libstdc++-v3/testsuite/30_threads/async/lwg2021.cc @@ -19,7 +19,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++11 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // LWG 2021. Further incorrect usages of result_of diff --git a/libstdc++-v3/testsuite/30_threads/async/sync.cc b/libstdc++-v3/testsuite/30_threads/async/sync.cc index 28a7e63f252..10c02ee25be 100644 --- a/libstdc++-v3/testsuite/30_threads/async/sync.cc +++ b/libstdc++-v3/testsuite/30_threads/async/sync.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) 2010-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/call_once/39909.cc b/libstdc++-v3/testsuite/30_threads/call_once/39909.cc index 5706b1bf36f..b208a7cd0da 100644 --- a/libstdc++-v3/testsuite/30_threads/call_once/39909.cc +++ b/libstdc++-v3/testsuite/30_threads/call_once/39909.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/call_once/49668.cc b/libstdc++-v3/testsuite/30_threads/call_once/49668.cc index 8a65a8b16b0..f1e1100d3aa 100644 --- a/libstdc++-v3/testsuite/30_threads/call_once/49668.cc +++ b/libstdc++-v3/testsuite/30_threads/call_once/49668.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) 2011-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/call_once/60497.cc b/libstdc++-v3/testsuite/30_threads/call_once/60497.cc index 1044ea03deb..de227b5d33f 100644 --- a/libstdc++-v3/testsuite/30_threads/call_once/60497.cc +++ b/libstdc++-v3/testsuite/30_threads/call_once/60497.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/30_threads/call_once/call_once1.cc b/libstdc++-v3/testsuite/30_threads/call_once/call_once1.cc index b43c62dc56d..0138f8af006 100644 --- a/libstdc++-v3/testsuite/30_threads/call_once/call_once1.cc +++ b/libstdc++-v3/testsuite/30_threads/call_once/call_once1.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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/call_once/constexpr.cc b/libstdc++-v3/testsuite/30_threads/call_once/constexpr.cc index 08752a12dff..7b851e224dd 100644 --- a/libstdc++-v3/testsuite/30_threads/call_once/constexpr.cc +++ b/libstdc++-v3/testsuite/30_threads/call_once/constexpr.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2010-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/call_once/dr2442.cc b/libstdc++-v3/testsuite/30_threads/call_once/dr2442.cc index 439f7ff18e5..49c741888bc 100644 --- a/libstdc++-v3/testsuite/30_threads/call_once/dr2442.cc +++ b/libstdc++-v3/testsuite/30_threads/call_once/dr2442.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) 2016-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/call_once/once_flag.cc b/libstdc++-v3/testsuite/30_threads/call_once/once_flag.cc index fd3a1f35059..99578ec65db 100644 --- a/libstdc++-v3/testsuite/30_threads/call_once/once_flag.cc +++ b/libstdc++-v3/testsuite/30_threads/call_once/once_flag.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/condition_variable/54185.cc b/libstdc++-v3/testsuite/30_threads/condition_variable/54185.cc index f7735c93a2f..95d8022d7f2 100644 --- a/libstdc++-v3/testsuite/30_threads/condition_variable/54185.cc +++ b/libstdc++-v3/testsuite/30_threads/condition_variable/54185.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) 2012-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/condition_variable/cons/1.cc b/libstdc++-v3/testsuite/30_threads/condition_variable/cons/1.cc index af54661eba0..c7ae7b4b02e 100644 --- a/libstdc++-v3/testsuite/30_threads/condition_variable/cons/1.cc +++ b/libstdc++-v3/testsuite/30_threads/condition_variable/cons/1.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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/condition_variable/cons/assign_neg.cc b/libstdc++-v3/testsuite/30_threads/condition_variable/cons/assign_neg.cc index 9f120e73187..e72f70d36ca 100644 --- a/libstdc++-v3/testsuite/30_threads/condition_variable/cons/assign_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/condition_variable/cons/assign_neg.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/condition_variable/cons/copy_neg.cc b/libstdc++-v3/testsuite/30_threads/condition_variable/cons/copy_neg.cc index 77a08f57a86..e8314ea16bb 100644 --- a/libstdc++-v3/testsuite/30_threads/condition_variable/cons/copy_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/condition_variable/cons/copy_neg.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/condition_variable/members/1.cc b/libstdc++-v3/testsuite/30_threads/condition_variable/members/1.cc index 0fbcce6eb9c..e8e0d426ead 100644 --- a/libstdc++-v3/testsuite/30_threads/condition_variable/members/1.cc +++ b/libstdc++-v3/testsuite/30_threads/condition_variable/members/1.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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/condition_variable/members/2.cc b/libstdc++-v3/testsuite/30_threads/condition_variable/members/2.cc index 6f9724b7148..0a44c4fa7cf 100644 --- a/libstdc++-v3/testsuite/30_threads/condition_variable/members/2.cc +++ b/libstdc++-v3/testsuite/30_threads/condition_variable/members/2.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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/condition_variable/members/3.cc b/libstdc++-v3/testsuite/30_threads/condition_variable/members/3.cc index 5b3267acb34..4b81488b087 100644 --- a/libstdc++-v3/testsuite/30_threads/condition_variable/members/3.cc +++ b/libstdc++-v3/testsuite/30_threads/condition_variable/members/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/30_threads/condition_variable/members/53841.cc b/libstdc++-v3/testsuite/30_threads/condition_variable/members/53841.cc index a3ccb36bfef..5c780917aee 100644 --- a/libstdc++-v3/testsuite/30_threads/condition_variable/members/53841.cc +++ b/libstdc++-v3/testsuite/30_threads/condition_variable/members/53841.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) 2012-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/condition_variable/members/68519.cc b/libstdc++-v3/testsuite/30_threads/condition_variable/members/68519.cc index 5c1bda2b226..a9d57ed9eb8 100644 --- a/libstdc++-v3/testsuite/30_threads/condition_variable/members/68519.cc +++ b/libstdc++-v3/testsuite/30_threads/condition_variable/members/68519.cc @@ -19,7 +19,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++11 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } #include diff --git a/libstdc++-v3/testsuite/30_threads/condition_variable/native_handle/typesizes.cc b/libstdc++-v3/testsuite/30_threads/condition_variable/native_handle/typesizes.cc index 9feb2e03171..137b7a59d77 100644 --- a/libstdc++-v3/testsuite/30_threads/condition_variable/native_handle/typesizes.cc +++ b/libstdc++-v3/testsuite/30_threads/condition_variable/native_handle/typesizes.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/condition_variable/requirements/standard_layout.cc b/libstdc++-v3/testsuite/30_threads/condition_variable/requirements/standard_layout.cc index 45d11467dac..7021830199b 100644 --- a/libstdc++-v3/testsuite/30_threads/condition_variable/requirements/standard_layout.cc +++ b/libstdc++-v3/testsuite/30_threads/condition_variable/requirements/standard_layout.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/condition_variable/requirements/typedefs.cc b/libstdc++-v3/testsuite/30_threads/condition_variable/requirements/typedefs.cc index 7a55bbf240e..6f0227e50f3 100644 --- a/libstdc++-v3/testsuite/30_threads/condition_variable/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/30_threads/condition_variable/requirements/typedefs.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // 2009-01-28 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/30_threads/condition_variable_any/50862.cc b/libstdc++-v3/testsuite/30_threads/condition_variable_any/50862.cc index 1ad83e0c9c8..7f0a5e642fe 100644 --- a/libstdc++-v3/testsuite/30_threads/condition_variable_any/50862.cc +++ b/libstdc++-v3/testsuite/30_threads/condition_variable_any/50862.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-sched-yield "" } diff --git a/libstdc++-v3/testsuite/30_threads/condition_variable_any/53830.cc b/libstdc++-v3/testsuite/30_threads/condition_variable_any/53830.cc index 1dae7b9f3eb..339a6be9cbe 100644 --- a/libstdc++-v3/testsuite/30_threads/condition_variable_any/53830.cc +++ b/libstdc++-v3/testsuite/30_threads/condition_variable_any/53830.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-sched-yield "" } // { dg-require-sleep "" } diff --git a/libstdc++-v3/testsuite/30_threads/condition_variable_any/cons/1.cc b/libstdc++-v3/testsuite/30_threads/condition_variable_any/cons/1.cc index 8b7c69293dd..f8dcad57f2a 100644 --- a/libstdc++-v3/testsuite/30_threads/condition_variable_any/cons/1.cc +++ b/libstdc++-v3/testsuite/30_threads/condition_variable_any/cons/1.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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/condition_variable_any/cons/assign_neg.cc b/libstdc++-v3/testsuite/30_threads/condition_variable_any/cons/assign_neg.cc index 163a22f5049..7fda4c2bd9c 100644 --- a/libstdc++-v3/testsuite/30_threads/condition_variable_any/cons/assign_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/condition_variable_any/cons/assign_neg.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/condition_variable_any/cons/copy_neg.cc b/libstdc++-v3/testsuite/30_threads/condition_variable_any/cons/copy_neg.cc index 59c1e322af4..9ca738f85aa 100644 --- a/libstdc++-v3/testsuite/30_threads/condition_variable_any/cons/copy_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/condition_variable_any/cons/copy_neg.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/condition_variable_any/members/1.cc b/libstdc++-v3/testsuite/30_threads/condition_variable_any/members/1.cc index 9f152d084c7..b8218fa32b4 100644 --- a/libstdc++-v3/testsuite/30_threads/condition_variable_any/members/1.cc +++ b/libstdc++-v3/testsuite/30_threads/condition_variable_any/members/1.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) 2010-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/condition_variable_any/members/2.cc b/libstdc++-v3/testsuite/30_threads/condition_variable_any/members/2.cc index 37ec09d328f..6a832cb1419 100644 --- a/libstdc++-v3/testsuite/30_threads/condition_variable_any/members/2.cc +++ b/libstdc++-v3/testsuite/30_threads/condition_variable_any/members/2.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) 2010-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/future/cons/assign_neg.cc b/libstdc++-v3/testsuite/30_threads/future/cons/assign_neg.cc index 58846201428..051a21594f8 100644 --- a/libstdc++-v3/testsuite/30_threads/future/cons/assign_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/future/cons/assign_neg.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/future/cons/constexpr.cc b/libstdc++-v3/testsuite/30_threads/future/cons/constexpr.cc index f09f2f6be87..89f84a23bf3 100644 --- a/libstdc++-v3/testsuite/30_threads/future/cons/constexpr.cc +++ b/libstdc++-v3/testsuite/30_threads/future/cons/constexpr.cc @@ -1,6 +1,5 @@ // { dg-do compile { target c++11 } } // { dg-options "-fno-inline -g0" } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // { dg-final { scan-assembler-not "_ZNSt6futureIvEC2Ev" } } // { dg-final { scan-assembler-not "_ZNSt6futureIiEC2Ev" } } diff --git a/libstdc++-v3/testsuite/30_threads/future/cons/copy_neg.cc b/libstdc++-v3/testsuite/30_threads/future/cons/copy_neg.cc index 2f75d51efba..e3a210921aa 100644 --- a/libstdc++-v3/testsuite/30_threads/future/cons/copy_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/future/cons/copy_neg.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/future/cons/default.cc b/libstdc++-v3/testsuite/30_threads/future/cons/default.cc index e421eda0ec2..825953772ad 100644 --- a/libstdc++-v3/testsuite/30_threads/future/cons/default.cc +++ b/libstdc++-v3/testsuite/30_threads/future/cons/default.cc @@ -1,5 +1,4 @@ // { dg-do run { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2010-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/future/cons/move.cc b/libstdc++-v3/testsuite/30_threads/future/cons/move.cc index ef36a2fc4b9..4dfb065d7bf 100644 --- a/libstdc++-v3/testsuite/30_threads/future/cons/move.cc +++ b/libstdc++-v3/testsuite/30_threads/future/cons/move.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/future/cons/move_assign.cc b/libstdc++-v3/testsuite/30_threads/future/cons/move_assign.cc index 0afafada077..6081a951a52 100644 --- a/libstdc++-v3/testsuite/30_threads/future/cons/move_assign.cc +++ b/libstdc++-v3/testsuite/30_threads/future/cons/move_assign.cc @@ -1,5 +1,4 @@ // { dg-do run { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2010-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/future/members/45133.cc b/libstdc++-v3/testsuite/30_threads/future/members/45133.cc index 5cacb9dd758..2a0c74d086a 100644 --- a/libstdc++-v3/testsuite/30_threads/future/members/45133.cc +++ b/libstdc++-v3/testsuite/30_threads/future/members/45133.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) 2010-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/future/members/get.cc b/libstdc++-v3/testsuite/30_threads/future/members/get.cc index 4b0bbd494c5..d4ff0da7ccb 100644 --- a/libstdc++-v3/testsuite/30_threads/future/members/get.cc +++ b/libstdc++-v3/testsuite/30_threads/future/members/get.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/future/members/get2.cc b/libstdc++-v3/testsuite/30_threads/future/members/get2.cc index c50bec3556d..9a6f5dfbe10 100644 --- a/libstdc++-v3/testsuite/30_threads/future/members/get2.cc +++ b/libstdc++-v3/testsuite/30_threads/future/members/get2.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/future/members/share.cc b/libstdc++-v3/testsuite/30_threads/future/members/share.cc index 2f1de860fe4..dfe8bbc78e3 100644 --- a/libstdc++-v3/testsuite/30_threads/future/members/share.cc +++ b/libstdc++-v3/testsuite/30_threads/future/members/share.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) 2011-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/future/members/valid.cc b/libstdc++-v3/testsuite/30_threads/future/members/valid.cc index 6a6647163f2..0768ca1afd6 100644 --- a/libstdc++-v3/testsuite/30_threads/future/members/valid.cc +++ b/libstdc++-v3/testsuite/30_threads/future/members/valid.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) 2010-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/future/members/wait.cc b/libstdc++-v3/testsuite/30_threads/future/members/wait.cc index 0512d4af04e..3327f87ed23 100644 --- a/libstdc++-v3/testsuite/30_threads/future/members/wait.cc +++ b/libstdc++-v3/testsuite/30_threads/future/members/wait.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/future/members/wait_for.cc b/libstdc++-v3/testsuite/30_threads/future/members/wait_for.cc index 7aec4e3644a..cd408c3f632 100644 --- a/libstdc++-v3/testsuite/30_threads/future/members/wait_for.cc +++ b/libstdc++-v3/testsuite/30_threads/future/members/wait_for.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/future/members/wait_until.cc b/libstdc++-v3/testsuite/30_threads/future/members/wait_until.cc index 11955fc874e..0ad57807073 100644 --- a/libstdc++-v3/testsuite/30_threads/future/members/wait_until.cc +++ b/libstdc++-v3/testsuite/30_threads/future/members/wait_until.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/future/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/30_threads/future/requirements/explicit_instantiation.cc index 2b2fe367790..30ee3780797 100644 --- a/libstdc++-v3/testsuite/30_threads/future/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/30_threads/future/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/headers/condition_variable/types_std_c++0x.cc b/libstdc++-v3/testsuite/30_threads/headers/condition_variable/types_std_c++0x.cc index f61794cc646..9077631e3bb 100644 --- a/libstdc++-v3/testsuite/30_threads/headers/condition_variable/types_std_c++0x.cc +++ b/libstdc++-v3/testsuite/30_threads/headers/condition_variable/types_std_c++0x.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/headers/future/types_std_c++0x.cc b/libstdc++-v3/testsuite/30_threads/headers/future/types_std_c++0x.cc index 856904af1f7..d2155e3dc48 100644 --- a/libstdc++-v3/testsuite/30_threads/headers/future/types_std_c++0x.cc +++ b/libstdc++-v3/testsuite/30_threads/headers/future/types_std_c++0x.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/headers/mutex/types_std_c++0x.cc b/libstdc++-v3/testsuite/30_threads/headers/mutex/types_std_c++0x.cc index 1ba00277cd9..6d5d47047a3 100644 --- a/libstdc++-v3/testsuite/30_threads/headers/mutex/types_std_c++0x.cc +++ b/libstdc++-v3/testsuite/30_threads/headers/mutex/types_std_c++0x.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/headers/thread/std_c++0x_neg.cc b/libstdc++-v3/testsuite/30_threads/headers/thread/std_c++0x_neg.cc index 692059f433c..04b8da5eb14 100644 --- a/libstdc++-v3/testsuite/30_threads/headers/thread/std_c++0x_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/headers/thread/std_c++0x_neg.cc @@ -1,6 +1,5 @@ // { dg-do compile } // { dg-options "-std=gnu++98" } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/headers/thread/types_std_c++0x.cc b/libstdc++-v3/testsuite/30_threads/headers/thread/types_std_c++0x.cc index 7d36d27e8d8..baec9c66a9e 100644 --- a/libstdc++-v3/testsuite/30_threads/headers/thread/types_std_c++0x.cc +++ b/libstdc++-v3/testsuite/30_threads/headers/thread/types_std_c++0x.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/lock/1.cc b/libstdc++-v3/testsuite/30_threads/lock/1.cc index b501320c364..913d563bb52 100644 --- a/libstdc++-v3/testsuite/30_threads/lock/1.cc +++ b/libstdc++-v3/testsuite/30_threads/lock/1.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) 2010-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/lock/2.cc b/libstdc++-v3/testsuite/30_threads/lock/2.cc index f46f83203a3..6145804e8c1 100644 --- a/libstdc++-v3/testsuite/30_threads/lock/2.cc +++ b/libstdc++-v3/testsuite/30_threads/lock/2.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) 2010-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/lock/3.cc b/libstdc++-v3/testsuite/30_threads/lock/3.cc index cf6d616b59e..c4d3ce12c4e 100644 --- a/libstdc++-v3/testsuite/30_threads/lock/3.cc +++ b/libstdc++-v3/testsuite/30_threads/lock/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) 2010-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/lock/4.cc b/libstdc++-v3/testsuite/30_threads/lock/4.cc index 3f6ef2a30ba..084697e672a 100644 --- a/libstdc++-v3/testsuite/30_threads/lock/4.cc +++ b/libstdc++-v3/testsuite/30_threads/lock/4.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) 2010-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/lock_guard/cons/1.cc b/libstdc++-v3/testsuite/30_threads/lock_guard/cons/1.cc index 9aa4ecf8c16..c4eba392968 100644 --- a/libstdc++-v3/testsuite/30_threads/lock_guard/cons/1.cc +++ b/libstdc++-v3/testsuite/30_threads/lock_guard/cons/1.cc @@ -1,5 +1,4 @@ // { dg-do run { target c++11 } } -// { dg-require-cstdint "" } // Copyright (C) 2010-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/30_threads/lock_guard/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/30_threads/lock_guard/requirements/explicit_instantiation.cc index 4280c22df57..ea6361d7f5b 100644 --- a/libstdc++-v3/testsuite/30_threads/lock_guard/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/30_threads/lock_guard/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // 2008-03-14 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/30_threads/lock_guard/requirements/typedefs.cc b/libstdc++-v3/testsuite/30_threads/lock_guard/requirements/typedefs.cc index 7ed8caedae6..0e152ab275f 100644 --- a/libstdc++-v3/testsuite/30_threads/lock_guard/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/30_threads/lock_guard/requirements/typedefs.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // 2008-03-14 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/30_threads/mutex/cons/1.cc b/libstdc++-v3/testsuite/30_threads/mutex/cons/1.cc index 1d48807bb27..14ed67d1fca 100644 --- a/libstdc++-v3/testsuite/30_threads/mutex/cons/1.cc +++ b/libstdc++-v3/testsuite/30_threads/mutex/cons/1.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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/mutex/cons/assign_neg.cc b/libstdc++-v3/testsuite/30_threads/mutex/cons/assign_neg.cc index c46ce9311f7..2b30625911d 100644 --- a/libstdc++-v3/testsuite/30_threads/mutex/cons/assign_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/mutex/cons/assign_neg.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/mutex/cons/constexpr.cc b/libstdc++-v3/testsuite/30_threads/mutex/cons/constexpr.cc index 08752a12dff..7b851e224dd 100644 --- a/libstdc++-v3/testsuite/30_threads/mutex/cons/constexpr.cc +++ b/libstdc++-v3/testsuite/30_threads/mutex/cons/constexpr.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2010-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/mutex/cons/copy_neg.cc b/libstdc++-v3/testsuite/30_threads/mutex/cons/copy_neg.cc index 0ce74804cbe..86940141651 100644 --- a/libstdc++-v3/testsuite/30_threads/mutex/cons/copy_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/mutex/cons/copy_neg.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/mutex/dest/destructor_locked.cc b/libstdc++-v3/testsuite/30_threads/mutex/dest/destructor_locked.cc index 3f4da9c6813..e3fc8702c3f 100644 --- a/libstdc++-v3/testsuite/30_threads/mutex/dest/destructor_locked.cc +++ b/libstdc++-v3/testsuite/30_threads/mutex/dest/destructor_locked.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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/mutex/lock/1.cc b/libstdc++-v3/testsuite/30_threads/mutex/lock/1.cc index 808aa028430..be9170143f1 100644 --- a/libstdc++-v3/testsuite/30_threads/mutex/lock/1.cc +++ b/libstdc++-v3/testsuite/30_threads/mutex/lock/1.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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/mutex/native_handle/1.cc b/libstdc++-v3/testsuite/30_threads/mutex/native_handle/1.cc index 3056d30ab1d..4fe7f100eb7 100644 --- a/libstdc++-v3/testsuite/30_threads/mutex/native_handle/1.cc +++ b/libstdc++-v3/testsuite/30_threads/mutex/native_handle/1.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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/mutex/native_handle/typesizes.cc b/libstdc++-v3/testsuite/30_threads/mutex/native_handle/typesizes.cc index eefdb08e3f7..d60823e4e19 100644 --- a/libstdc++-v3/testsuite/30_threads/mutex/native_handle/typesizes.cc +++ b/libstdc++-v3/testsuite/30_threads/mutex/native_handle/typesizes.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/mutex/requirements/standard_layout.cc b/libstdc++-v3/testsuite/30_threads/mutex/requirements/standard_layout.cc index 4897781a654..e8bcccf208c 100644 --- a/libstdc++-v3/testsuite/30_threads/mutex/requirements/standard_layout.cc +++ b/libstdc++-v3/testsuite/30_threads/mutex/requirements/standard_layout.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/mutex/requirements/typedefs.cc b/libstdc++-v3/testsuite/30_threads/mutex/requirements/typedefs.cc index 1c7edad879b..3b6f90efebc 100644 --- a/libstdc++-v3/testsuite/30_threads/mutex/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/30_threads/mutex/requirements/typedefs.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // 2008-03-18 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/30_threads/mutex/try_lock/1.cc b/libstdc++-v3/testsuite/30_threads/mutex/try_lock/1.cc index 26f61bccde9..2ea6e620a91 100644 --- a/libstdc++-v3/testsuite/30_threads/mutex/try_lock/1.cc +++ b/libstdc++-v3/testsuite/30_threads/mutex/try_lock/1.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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/mutex/try_lock/2.cc b/libstdc++-v3/testsuite/30_threads/mutex/try_lock/2.cc index 290df45c636..3870164e2d2 100644 --- a/libstdc++-v3/testsuite/30_threads/mutex/try_lock/2.cc +++ b/libstdc++-v3/testsuite/30_threads/mutex/try_lock/2.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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/mutex/unlock/1.cc b/libstdc++-v3/testsuite/30_threads/mutex/unlock/1.cc index 83ff977253a..85bd8551b34 100644 --- a/libstdc++-v3/testsuite/30_threads/mutex/unlock/1.cc +++ b/libstdc++-v3/testsuite/30_threads/mutex/unlock/1.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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/mutex/unlock/2.cc b/libstdc++-v3/testsuite/30_threads/mutex/unlock/2.cc index a7c2e402da9..283b7d4cf87 100644 --- a/libstdc++-v3/testsuite/30_threads/mutex/unlock/2.cc +++ b/libstdc++-v3/testsuite/30_threads/mutex/unlock/2.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) 2015-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/once_flag/cons/constexpr.cc b/libstdc++-v3/testsuite/30_threads/once_flag/cons/constexpr.cc index 5e2b86dd8b6..7fa202a6453 100644 --- a/libstdc++-v3/testsuite/30_threads/once_flag/cons/constexpr.cc +++ b/libstdc++-v3/testsuite/30_threads/once_flag/cons/constexpr.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2010-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/packaged_task/49668.cc b/libstdc++-v3/testsuite/30_threads/packaged_task/49668.cc index 4e8758906e8..448167fa35c 100644 --- a/libstdc++-v3/testsuite/30_threads/packaged_task/49668.cc +++ b/libstdc++-v3/testsuite/30_threads/packaged_task/49668.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) 2011-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/packaged_task/60564.cc b/libstdc++-v3/testsuite/30_threads/packaged_task/60564.cc index 40848851ef9..e213eef39e5 100644 --- a/libstdc++-v3/testsuite/30_threads/packaged_task/60564.cc +++ b/libstdc++-v3/testsuite/30_threads/packaged_task/60564.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/30_threads/packaged_task/cons/1.cc b/libstdc++-v3/testsuite/30_threads/packaged_task/cons/1.cc index 118739b3a85..6ed2ad9a18c 100644 --- a/libstdc++-v3/testsuite/30_threads/packaged_task/cons/1.cc +++ b/libstdc++-v3/testsuite/30_threads/packaged_task/cons/1.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/packaged_task/cons/2.cc b/libstdc++-v3/testsuite/30_threads/packaged_task/cons/2.cc index 0da1b05745f..0d9d7a2b799 100644 --- a/libstdc++-v3/testsuite/30_threads/packaged_task/cons/2.cc +++ b/libstdc++-v3/testsuite/30_threads/packaged_task/cons/2.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/packaged_task/cons/3.cc b/libstdc++-v3/testsuite/30_threads/packaged_task/cons/3.cc index 810775101c6..a76286299d4 100644 --- a/libstdc++-v3/testsuite/30_threads/packaged_task/cons/3.cc +++ b/libstdc++-v3/testsuite/30_threads/packaged_task/cons/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) 2011-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/packaged_task/cons/56492.cc b/libstdc++-v3/testsuite/30_threads/packaged_task/cons/56492.cc index 629bc77c0e0..c05b08da379 100644 --- a/libstdc++-v3/testsuite/30_threads/packaged_task/cons/56492.cc +++ b/libstdc++-v3/testsuite/30_threads/packaged_task/cons/56492.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) 2013-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/packaged_task/cons/alloc.cc b/libstdc++-v3/testsuite/30_threads/packaged_task/cons/alloc.cc index f45496f067d..763bd39f0b7 100644 --- a/libstdc++-v3/testsuite/30_threads/packaged_task/cons/alloc.cc +++ b/libstdc++-v3/testsuite/30_threads/packaged_task/cons/alloc.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) 2010-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/packaged_task/cons/alloc2.cc b/libstdc++-v3/testsuite/30_threads/packaged_task/cons/alloc2.cc index 8bdfb6f5f52..239b0c53778 100644 --- a/libstdc++-v3/testsuite/30_threads/packaged_task/cons/alloc2.cc +++ b/libstdc++-v3/testsuite/30_threads/packaged_task/cons/alloc2.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2011-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/packaged_task/cons/alloc_min.cc b/libstdc++-v3/testsuite/30_threads/packaged_task/cons/alloc_min.cc index facfd6f079f..58b673434e4 100644 --- a/libstdc++-v3/testsuite/30_threads/packaged_task/cons/alloc_min.cc +++ b/libstdc++-v3/testsuite/30_threads/packaged_task/cons/alloc_min.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2011-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/packaged_task/cons/assign_neg.cc b/libstdc++-v3/testsuite/30_threads/packaged_task/cons/assign_neg.cc index e677f1de1ef..daeab47e6d9 100644 --- a/libstdc++-v3/testsuite/30_threads/packaged_task/cons/assign_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/packaged_task/cons/assign_neg.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/packaged_task/cons/copy_neg.cc b/libstdc++-v3/testsuite/30_threads/packaged_task/cons/copy_neg.cc index 95787592ee9..4a1173acd99 100644 --- a/libstdc++-v3/testsuite/30_threads/packaged_task/cons/copy_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/packaged_task/cons/copy_neg.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/packaged_task/cons/move.cc b/libstdc++-v3/testsuite/30_threads/packaged_task/cons/move.cc index 2a5feffb404..56223ae15a1 100644 --- a/libstdc++-v3/testsuite/30_threads/packaged_task/cons/move.cc +++ b/libstdc++-v3/testsuite/30_threads/packaged_task/cons/move.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/packaged_task/cons/move_assign.cc b/libstdc++-v3/testsuite/30_threads/packaged_task/cons/move_assign.cc index 7b69ef6186e..c73bf35ec7b 100644 --- a/libstdc++-v3/testsuite/30_threads/packaged_task/cons/move_assign.cc +++ b/libstdc++-v3/testsuite/30_threads/packaged_task/cons/move_assign.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/packaged_task/members/at_thread_exit.cc b/libstdc++-v3/testsuite/30_threads/packaged_task/members/at_thread_exit.cc index 4ff41494241..0ad1392b5ba 100644 --- a/libstdc++-v3/testsuite/30_threads/packaged_task/members/at_thread_exit.cc +++ b/libstdc++-v3/testsuite/30_threads/packaged_task/members/at_thread_exit.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/30_threads/packaged_task/members/get_future.cc b/libstdc++-v3/testsuite/30_threads/packaged_task/members/get_future.cc index 2dda462b722..6fd03c44458 100644 --- a/libstdc++-v3/testsuite/30_threads/packaged_task/members/get_future.cc +++ b/libstdc++-v3/testsuite/30_threads/packaged_task/members/get_future.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/packaged_task/members/get_future2.cc b/libstdc++-v3/testsuite/30_threads/packaged_task/members/get_future2.cc index 6e2d52094cc..9aa9b3a0011 100644 --- a/libstdc++-v3/testsuite/30_threads/packaged_task/members/get_future2.cc +++ b/libstdc++-v3/testsuite/30_threads/packaged_task/members/get_future2.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke.cc b/libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke.cc index e0beceebe95..5587e5f804e 100644 --- a/libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke.cc +++ b/libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke2.cc b/libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke2.cc index f405c1aa113..480afc85e59 100644 --- a/libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke2.cc +++ b/libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke2.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke3.cc b/libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke3.cc index 74a78524431..f17aa75f3d1 100644 --- a/libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke3.cc +++ b/libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke3.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke4.cc b/libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke4.cc index 094bf8bbbbc..772d62feb3b 100644 --- a/libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke4.cc +++ b/libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke4.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke5.cc b/libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke5.cc index 9f498943eb4..a33c64f9894 100644 --- a/libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke5.cc +++ b/libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke5.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/packaged_task/members/reset.cc b/libstdc++-v3/testsuite/30_threads/packaged_task/members/reset.cc index 136560b928f..14a5df7174a 100644 --- a/libstdc++-v3/testsuite/30_threads/packaged_task/members/reset.cc +++ b/libstdc++-v3/testsuite/30_threads/packaged_task/members/reset.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/packaged_task/members/reset2.cc b/libstdc++-v3/testsuite/30_threads/packaged_task/members/reset2.cc index 456b640f98a..cf67b9fb061 100644 --- a/libstdc++-v3/testsuite/30_threads/packaged_task/members/reset2.cc +++ b/libstdc++-v3/testsuite/30_threads/packaged_task/members/reset2.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/packaged_task/members/swap.cc b/libstdc++-v3/testsuite/30_threads/packaged_task/members/swap.cc index 0ba5b7f6101..d18567fa96a 100644 --- a/libstdc++-v3/testsuite/30_threads/packaged_task/members/swap.cc +++ b/libstdc++-v3/testsuite/30_threads/packaged_task/members/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 "" } // Copyright (C) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/packaged_task/members/valid.cc b/libstdc++-v3/testsuite/30_threads/packaged_task/members/valid.cc index a6546a5c0f6..6427ade6b67 100644 --- a/libstdc++-v3/testsuite/30_threads/packaged_task/members/valid.cc +++ b/libstdc++-v3/testsuite/30_threads/packaged_task/members/valid.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) 2011-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/packaged_task/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/30_threads/packaged_task/requirements/explicit_instantiation.cc index 5a87ca8c5a9..177ca7b64fd 100644 --- a/libstdc++-v3/testsuite/30_threads/packaged_task/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/30_threads/packaged_task/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/packaged_task/uses_allocator.cc b/libstdc++-v3/testsuite/30_threads/packaged_task/uses_allocator.cc index 994157f873d..c6898752bbf 100644 --- a/libstdc++-v3/testsuite/30_threads/packaged_task/uses_allocator.cc +++ b/libstdc++-v3/testsuite/30_threads/packaged_task/uses_allocator.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2011-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/promise/60966.cc b/libstdc++-v3/testsuite/30_threads/promise/60966.cc index fe547743137..5449fab1ec7 100644 --- a/libstdc++-v3/testsuite/30_threads/promise/60966.cc +++ b/libstdc++-v3/testsuite/30_threads/promise/60966.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/30_threads/promise/69106.cc b/libstdc++-v3/testsuite/30_threads/promise/69106.cc index c8323a36e76..3b53cd1b3df 100644 --- a/libstdc++-v3/testsuite/30_threads/promise/69106.cc +++ b/libstdc++-v3/testsuite/30_threads/promise/69106.cc @@ -16,7 +16,6 @@ // . // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } #include diff --git a/libstdc++-v3/testsuite/30_threads/promise/cons/1.cc b/libstdc++-v3/testsuite/30_threads/promise/cons/1.cc index add92c0d7a2..c4161d16c6f 100644 --- a/libstdc++-v3/testsuite/30_threads/promise/cons/1.cc +++ b/libstdc++-v3/testsuite/30_threads/promise/cons/1.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/promise/cons/alloc.cc b/libstdc++-v3/testsuite/30_threads/promise/cons/alloc.cc index b6836b2e2e4..d0419552e43 100644 --- a/libstdc++-v3/testsuite/30_threads/promise/cons/alloc.cc +++ b/libstdc++-v3/testsuite/30_threads/promise/cons/alloc.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) 2010-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/promise/cons/alloc2.cc b/libstdc++-v3/testsuite/30_threads/promise/cons/alloc2.cc index 92959577c33..d959b7299e3 100644 --- a/libstdc++-v3/testsuite/30_threads/promise/cons/alloc2.cc +++ b/libstdc++-v3/testsuite/30_threads/promise/cons/alloc2.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2011-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/promise/cons/alloc_min.cc b/libstdc++-v3/testsuite/30_threads/promise/cons/alloc_min.cc index 036252a1473..3897082dcdf 100644 --- a/libstdc++-v3/testsuite/30_threads/promise/cons/alloc_min.cc +++ b/libstdc++-v3/testsuite/30_threads/promise/cons/alloc_min.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2011-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/promise/cons/assign_neg.cc b/libstdc++-v3/testsuite/30_threads/promise/cons/assign_neg.cc index 5458d0a488e..989be7739db 100644 --- a/libstdc++-v3/testsuite/30_threads/promise/cons/assign_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/promise/cons/assign_neg.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/promise/cons/copy_neg.cc b/libstdc++-v3/testsuite/30_threads/promise/cons/copy_neg.cc index 389a8335a02..14b1733e626 100644 --- a/libstdc++-v3/testsuite/30_threads/promise/cons/copy_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/promise/cons/copy_neg.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/promise/cons/move.cc b/libstdc++-v3/testsuite/30_threads/promise/cons/move.cc index 7992214dba3..bf241c0ec62 100644 --- a/libstdc++-v3/testsuite/30_threads/promise/cons/move.cc +++ b/libstdc++-v3/testsuite/30_threads/promise/cons/move.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/promise/cons/move_assign.cc b/libstdc++-v3/testsuite/30_threads/promise/cons/move_assign.cc index 5e408e2076f..04ac9599723 100644 --- a/libstdc++-v3/testsuite/30_threads/promise/cons/move_assign.cc +++ b/libstdc++-v3/testsuite/30_threads/promise/cons/move_assign.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/promise/members/at_thread_exit.cc b/libstdc++-v3/testsuite/30_threads/promise/members/at_thread_exit.cc index d2ae3d79fa7..cf8f5c96951 100644 --- a/libstdc++-v3/testsuite/30_threads/promise/members/at_thread_exit.cc +++ b/libstdc++-v3/testsuite/30_threads/promise/members/at_thread_exit.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/30_threads/promise/members/at_thread_exit2.cc b/libstdc++-v3/testsuite/30_threads/promise/members/at_thread_exit2.cc index 7c986061271..a69bcd59844 100644 --- a/libstdc++-v3/testsuite/30_threads/promise/members/at_thread_exit2.cc +++ b/libstdc++-v3/testsuite/30_threads/promise/members/at_thread_exit2.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/30_threads/promise/members/get_future.cc b/libstdc++-v3/testsuite/30_threads/promise/members/get_future.cc index 842ce4b199f..bf8b13a2f52 100644 --- a/libstdc++-v3/testsuite/30_threads/promise/members/get_future.cc +++ b/libstdc++-v3/testsuite/30_threads/promise/members/get_future.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/promise/members/get_future2.cc b/libstdc++-v3/testsuite/30_threads/promise/members/get_future2.cc index 4ef8dc5e0e9..f63d777a30f 100644 --- a/libstdc++-v3/testsuite/30_threads/promise/members/get_future2.cc +++ b/libstdc++-v3/testsuite/30_threads/promise/members/get_future2.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/promise/members/set_exception.cc b/libstdc++-v3/testsuite/30_threads/promise/members/set_exception.cc index 3e8ab6ffc43..b427ad80cc3 100644 --- a/libstdc++-v3/testsuite/30_threads/promise/members/set_exception.cc +++ b/libstdc++-v3/testsuite/30_threads/promise/members/set_exception.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/promise/members/set_exception2.cc b/libstdc++-v3/testsuite/30_threads/promise/members/set_exception2.cc index 247ff33a1dd..ff935cc79b3 100644 --- a/libstdc++-v3/testsuite/30_threads/promise/members/set_exception2.cc +++ b/libstdc++-v3/testsuite/30_threads/promise/members/set_exception2.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/promise/members/set_value.cc b/libstdc++-v3/testsuite/30_threads/promise/members/set_value.cc index ccd33262b8a..9b1b0122b16 100644 --- a/libstdc++-v3/testsuite/30_threads/promise/members/set_value.cc +++ b/libstdc++-v3/testsuite/30_threads/promise/members/set_value.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/promise/members/set_value2.cc b/libstdc++-v3/testsuite/30_threads/promise/members/set_value2.cc index bdaf4ecd48b..5475693afda 100644 --- a/libstdc++-v3/testsuite/30_threads/promise/members/set_value2.cc +++ b/libstdc++-v3/testsuite/30_threads/promise/members/set_value2.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/promise/members/set_value3.cc b/libstdc++-v3/testsuite/30_threads/promise/members/set_value3.cc index 731269104d1..9c124ed832a 100644 --- a/libstdc++-v3/testsuite/30_threads/promise/members/set_value3.cc +++ b/libstdc++-v3/testsuite/30_threads/promise/members/set_value3.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/promise/members/swap.cc b/libstdc++-v3/testsuite/30_threads/promise/members/swap.cc index 483e714d7a4..b69de716825 100644 --- a/libstdc++-v3/testsuite/30_threads/promise/members/swap.cc +++ b/libstdc++-v3/testsuite/30_threads/promise/members/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 "" } // Copyright (C) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/promise/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/30_threads/promise/requirements/explicit_instantiation.cc index 2b881d1a2d2..a6325f38766 100644 --- a/libstdc++-v3/testsuite/30_threads/promise/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/30_threads/promise/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/promise/uses_allocator.cc b/libstdc++-v3/testsuite/30_threads/promise/uses_allocator.cc index 8116d405749..0c09d56f1fe 100644 --- a/libstdc++-v3/testsuite/30_threads/promise/uses_allocator.cc +++ b/libstdc++-v3/testsuite/30_threads/promise/uses_allocator.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2011-2018 Free Software Foundation, Inc. From patchwork Thu Jul 26 14:01:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 949702 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-482454-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="bcX3Kz7N"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41bv4q5KGbz9rxx for ; Fri, 27 Jul 2018 00:05:31 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:in-reply-to:references:in-reply-to :references; q=dns; s=default; b=okH9duFR4QmVxxgCZgCs7OeYg59uOEM ogeeoxB3ccgsrMQt8xr7N7TsyqUG1YSDq6ztSZ3EMeSmJ01v/yCxPUIRtj/rU793 HYQalpy0RIuOOpNR77dFb0bw7IzPHGSssPrGfZsFQJXSMj3dB82E0i722FJeX0vr YO4v+7qxU7Z8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:in-reply-to:references:in-reply-to :references; s=default; bh=WSDhKaCwgnfvoqHQlf+a4DjuQWI=; b=bcX3K z7NN/ZC+W2K7yI0SZxqye6jcTdecvRkoH+i+6c119z2nCbLh4LOMqXJpmWjPSFMq Vz7Rr/pZuZV8IyTK94PpkAfdciN9AlWtlGHgEmpfu8RhWvh6IYh9RmQuipkmiO+u 0wFNcT24k129IZx7Pg/02dHiJ7YFD3Y/GUYzsM= Received: (qmail 74094 invoked by alias); 26 Jul 2018 14:02:34 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 73863 invoked by uid 89); 26 Jul 2018 14:02:32 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-20.9 required=5.0 tests=GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, TIME_LIMIT_EXCEEDED, URIBL_DBL_SPAM, URIBL_SBL autolearn=unavailable version=3.3.2 spammy=Chris X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (208.118.235.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 26 Jul 2018 14:02:20 +0000 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1figqN-0003NQ-Pa for gcc-patches@gcc.gnu.org; Thu, 26 Jul 2018 10:02:18 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:59236 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1figqN-0003Ma-E6; Thu, 26 Jul 2018 10:02:15 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id CEDFF40241ED; Thu, 26 Jul 2018 14:02:14 +0000 (UTC) Received: from localhost (unknown [10.33.36.95]) by smtp.corp.redhat.com (Postfix) with ESMTP id 330C410FFE54; Thu, 26 Jul 2018 14:02:14 +0000 (UTC) From: jwakely@redhat.com To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [PATCH 7/8] Remove dg-require-cstdint directive from tests Date: Thu, 26 Jul 2018 15:01:56 +0100 Message-Id: <771335ad6187e3d022de2b59cd848ec8051f8eaf.1532613690.git.jwakely@redhat.com> In-Reply-To: References: In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.187.233.73 From: Jonathan Wakely Tests for components which are no longer dependent on _GLIBCXX_USE_C99_STDINT_TR1 do not need to require . * 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. * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc: Likewise. * testsuite/30_threads/recursive_mutex/lock/1.cc: Likewise. * testsuite/30_threads/recursive_mutex/native_handle/1.cc: Likewise. * testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc: Likewise. * testsuite/30_threads/recursive_mutex/requirements/standard_layout.cc: Likewise. * testsuite/30_threads/recursive_mutex/requirements/typedefs.cc: Likewise. * testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise. * testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise. * testsuite/30_threads/recursive_mutex/unlock/1.cc: Likewise. * testsuite/30_threads/recursive_mutex/unlock/2.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/cons/1.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/dest/ destructor_locked.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/lock/1.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/lock/2.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/native_handle/ typesizes.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/requirements/typedefs.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/unlock/1.cc: Likewise. * testsuite/30_threads/recursive_timed_mutex/unlock/2.cc: Likewise. * testsuite/30_threads/scoped_lock/cons/1.cc: Likewise. * testsuite/30_threads/scoped_lock/requirements/ explicit_instantiation.cc: Likewise. * testsuite/30_threads/scoped_lock/requirements/typedefs.cc: Likewise. * testsuite/30_threads/shared_future/cons/assign.cc: Likewise. * testsuite/30_threads/shared_future/cons/constexpr.cc: Likewise. * testsuite/30_threads/shared_future/cons/copy.cc: Likewise. * testsuite/30_threads/shared_future/cons/default.cc: Likewise. * testsuite/30_threads/shared_future/cons/move.cc: Likewise. * testsuite/30_threads/shared_future/cons/move_assign.cc: Likewise. * testsuite/30_threads/shared_future/members/45133.cc: Likewise. * testsuite/30_threads/shared_future/members/get.cc: Likewise. * testsuite/30_threads/shared_future/members/get2.cc: Likewise. * testsuite/30_threads/shared_future/members/valid.cc: Likewise. * testsuite/30_threads/shared_future/members/wait.cc: Likewise. * testsuite/30_threads/shared_future/members/wait_for.cc: Likewise. * testsuite/30_threads/shared_future/members/wait_until.cc: Likewise. * testsuite/30_threads/shared_future/requirements/ explicit_instantiation.cc: Likewise. * testsuite/30_threads/shared_lock/cons/1.cc: Likewise. * testsuite/30_threads/shared_lock/cons/2.cc: Likewise. * testsuite/30_threads/shared_lock/cons/3.cc: Likewise. * testsuite/30_threads/shared_lock/cons/4.cc: Likewise. * testsuite/30_threads/shared_lock/cons/5.cc: Likewise. * testsuite/30_threads/shared_lock/cons/6.cc: Likewise. * testsuite/30_threads/shared_lock/locking/1.cc: Likewise. * testsuite/30_threads/shared_lock/locking/2.cc: Likewise. * testsuite/30_threads/shared_lock/locking/3.cc: Likewise. * testsuite/30_threads/shared_lock/locking/4.cc: Likewise. * testsuite/30_threads/shared_lock/modifiers/1.cc: Likewise. * testsuite/30_threads/shared_lock/requirements/ explicit_instantiation.cc: Likewise. * testsuite/30_threads/shared_lock/requirements/typedefs.cc: Likewise. * testsuite/30_threads/shared_mutex/cons/1.cc: Likewise. * testsuite/30_threads/shared_mutex/cons/assign_neg.cc: Likewise. * testsuite/30_threads/shared_mutex/cons/copy_neg.cc: Likewise. * testsuite/30_threads/shared_mutex/requirements/standard_layout.cc: Likewise. * testsuite/30_threads/shared_mutex/try_lock/1.cc: Likewise. * testsuite/30_threads/shared_mutex/try_lock/2.cc: Likewise. * testsuite/30_threads/shared_mutex/unlock/1.cc: Likewise. * testsuite/30_threads/shared_timed_mutex/cons/1.cc: Likewise. * testsuite/30_threads/shared_timed_mutex/cons/assign_neg.cc: Likewise. * testsuite/30_threads/shared_timed_mutex/cons/copy_neg.cc: Likewise. * testsuite/30_threads/shared_timed_mutex/requirements/ standard_layout.cc: Likewise. * testsuite/30_threads/shared_timed_mutex/try_lock/1.cc: Likewise. * testsuite/30_threads/shared_timed_mutex/try_lock/2.cc: Likewise. * testsuite/30_threads/shared_timed_mutex/try_lock/3.cc: Likewise. * testsuite/30_threads/shared_timed_mutex/unlock/1.cc: Likewise. * testsuite/30_threads/this_thread/1.cc: Likewise. * testsuite/30_threads/this_thread/2.cc: Likewise. * testsuite/30_threads/this_thread/3.cc: Likewise. * testsuite/30_threads/this_thread/4.cc: Likewise. * testsuite/30_threads/this_thread/58038.cc: Likewise. * testsuite/30_threads/thread/70503.cc: Likewise. * testsuite/30_threads/thread/84532.cc: Likewise. * testsuite/30_threads/thread/adl.cc: Likewise. * testsuite/30_threads/thread/cons/1.cc: Likewise. * testsuite/30_threads/thread/cons/2.cc: Likewise. * testsuite/30_threads/thread/cons/3.cc: Likewise. * testsuite/30_threads/thread/cons/4.cc: Likewise. * testsuite/30_threads/thread/cons/49668.cc: Likewise. * testsuite/30_threads/thread/cons/5.cc: Likewise. * testsuite/30_threads/thread/cons/6.cc: Likewise. * testsuite/30_threads/thread/cons/7.cc: Likewise. * testsuite/30_threads/thread/cons/8.cc: Likewise. * testsuite/30_threads/thread/cons/84535.cc: Likewise. * testsuite/30_threads/thread/cons/9.cc: Likewise. * testsuite/30_threads/thread/cons/assign_neg.cc: Likewise. * testsuite/30_threads/thread/cons/copy_neg.cc: Likewise. * testsuite/30_threads/thread/cons/lwg2097.cc: Likewise. * testsuite/30_threads/thread/cons/moveable.cc: Likewise. * testsuite/30_threads/thread/cons/terminate.cc: Likewise. * testsuite/30_threads/thread/id/operators.cc: Likewise. * testsuite/30_threads/thread/members/1.cc: Likewise. * testsuite/30_threads/thread/members/2.cc: Likewise. * testsuite/30_threads/thread/members/3.cc: Likewise. * testsuite/30_threads/thread/members/4.cc: Likewise. * testsuite/30_threads/thread/members/5.cc: Likewise. * testsuite/30_threads/thread/members/hardware_concurrency.cc: Likewise. * testsuite/30_threads/thread/native_handle/cancel.cc: Likewise. * testsuite/30_threads/thread/swap/1.cc: Likewise. * testsuite/30_threads/timed_mutex/cons/1.cc: Likewise. * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise. * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise. * testsuite/30_threads/timed_mutex/dest/destructor_locked.cc: Likewise. * testsuite/30_threads/timed_mutex/lock/1.cc: Likewise. * testsuite/30_threads/timed_mutex/native_handle/1.cc: Likewise. * testsuite/30_threads/timed_mutex/native_handle/typesizes.cc: Likewise. * testsuite/30_threads/timed_mutex/requirements/ standard_layout.cc: Likewise. * testsuite/30_threads/timed_mutex/requirements/typedefs.cc: Likewise. * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise. * testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise. * testsuite/30_threads/timed_mutex/try_lock_for/1.cc: Likewise. * testsuite/30_threads/timed_mutex/try_lock_for/2.cc: Likewise. * testsuite/30_threads/timed_mutex/try_lock_for/3.cc: Likewise. * testsuite/30_threads/timed_mutex/try_lock_until/1.cc: Likewise. * testsuite/30_threads/timed_mutex/try_lock_until/2.cc: Likewise. * testsuite/30_threads/timed_mutex/try_lock_until/57641.cc: Likewise. * testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise. * testsuite/30_threads/timed_mutex/unlock/2.cc: Likewise. * testsuite/30_threads/try_lock/1.cc: Likewise. * testsuite/30_threads/try_lock/2.cc: Likewise. * testsuite/30_threads/try_lock/3.cc: Likewise. * testsuite/30_threads/try_lock/4.cc: Likewise. * testsuite/30_threads/unique_lock/cons/1.cc: Likewise. * testsuite/30_threads/unique_lock/cons/2.cc: Likewise. * testsuite/30_threads/unique_lock/cons/3.cc: Likewise. * testsuite/30_threads/unique_lock/cons/4.cc: Likewise. * testsuite/30_threads/unique_lock/cons/5.cc: Likewise. * testsuite/30_threads/unique_lock/cons/6.cc: Likewise. * testsuite/30_threads/unique_lock/locking/1.cc: Likewise. * testsuite/30_threads/unique_lock/locking/2.cc: Likewise. * testsuite/30_threads/unique_lock/locking/3.cc: Likewise. * testsuite/30_threads/unique_lock/locking/4.cc: Likewise. * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise. * testsuite/30_threads/unique_lock/requirements/ explicit_instantiation.cc: Likewise. * testsuite/30_threads/unique_lock/requirements/typedefs.cc: Likewise. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 8f903a14fde..225b4bec625 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,177 @@ 2018-07-26 Jonathan Wakely + * 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. + * testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc: + Likewise. + * testsuite/30_threads/recursive_mutex/lock/1.cc: Likewise. + * testsuite/30_threads/recursive_mutex/native_handle/1.cc: Likewise. + * testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc: + Likewise. + * testsuite/30_threads/recursive_mutex/requirements/standard_layout.cc: + Likewise. + * testsuite/30_threads/recursive_mutex/requirements/typedefs.cc: + Likewise. + * testsuite/30_threads/recursive_mutex/try_lock/1.cc: Likewise. + * testsuite/30_threads/recursive_mutex/try_lock/2.cc: Likewise. + * testsuite/30_threads/recursive_mutex/unlock/1.cc: Likewise. + * testsuite/30_threads/recursive_mutex/unlock/2.cc: Likewise. + * testsuite/30_threads/recursive_timed_mutex/cons/1.cc: Likewise. + * testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc: + Likewise. + * testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc: + Likewise. + * testsuite/30_threads/recursive_timed_mutex/dest/ + destructor_locked.cc: Likewise. + * testsuite/30_threads/recursive_timed_mutex/lock/1.cc: Likewise. + * testsuite/30_threads/recursive_timed_mutex/lock/2.cc: Likewise. + * testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc: + Likewise. + * testsuite/30_threads/recursive_timed_mutex/native_handle/ + typesizes.cc: Likewise. + * testsuite/30_threads/recursive_timed_mutex/requirements/typedefs.cc: + Likewise. + * testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc: + Likewise. + * testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc: + Likewise. + * testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc: + Likewise. + * testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc: + Likewise. + * testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc: + Likewise. + * testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc: + Likewise. + * testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc: + Likewise. + * testsuite/30_threads/recursive_timed_mutex/unlock/1.cc: Likewise. + * testsuite/30_threads/recursive_timed_mutex/unlock/2.cc: Likewise. + * testsuite/30_threads/scoped_lock/cons/1.cc: Likewise. + * testsuite/30_threads/scoped_lock/requirements/ + explicit_instantiation.cc: Likewise. + * testsuite/30_threads/scoped_lock/requirements/typedefs.cc: Likewise. + * testsuite/30_threads/shared_future/cons/assign.cc: Likewise. + * testsuite/30_threads/shared_future/cons/constexpr.cc: Likewise. + * testsuite/30_threads/shared_future/cons/copy.cc: Likewise. + * testsuite/30_threads/shared_future/cons/default.cc: Likewise. + * testsuite/30_threads/shared_future/cons/move.cc: Likewise. + * testsuite/30_threads/shared_future/cons/move_assign.cc: Likewise. + * testsuite/30_threads/shared_future/members/45133.cc: Likewise. + * testsuite/30_threads/shared_future/members/get.cc: Likewise. + * testsuite/30_threads/shared_future/members/get2.cc: Likewise. + * testsuite/30_threads/shared_future/members/valid.cc: Likewise. + * testsuite/30_threads/shared_future/members/wait.cc: Likewise. + * testsuite/30_threads/shared_future/members/wait_for.cc: Likewise. + * testsuite/30_threads/shared_future/members/wait_until.cc: Likewise. + * testsuite/30_threads/shared_future/requirements/ + explicit_instantiation.cc: Likewise. + * testsuite/30_threads/shared_lock/cons/1.cc: Likewise. + * testsuite/30_threads/shared_lock/cons/2.cc: Likewise. + * testsuite/30_threads/shared_lock/cons/3.cc: Likewise. + * testsuite/30_threads/shared_lock/cons/4.cc: Likewise. + * testsuite/30_threads/shared_lock/cons/5.cc: Likewise. + * testsuite/30_threads/shared_lock/cons/6.cc: Likewise. + * testsuite/30_threads/shared_lock/locking/1.cc: Likewise. + * testsuite/30_threads/shared_lock/locking/2.cc: Likewise. + * testsuite/30_threads/shared_lock/locking/3.cc: Likewise. + * testsuite/30_threads/shared_lock/locking/4.cc: Likewise. + * testsuite/30_threads/shared_lock/modifiers/1.cc: Likewise. + * testsuite/30_threads/shared_lock/requirements/ + explicit_instantiation.cc: Likewise. + * testsuite/30_threads/shared_lock/requirements/typedefs.cc: Likewise. + * testsuite/30_threads/shared_mutex/cons/1.cc: Likewise. + * testsuite/30_threads/shared_mutex/cons/assign_neg.cc: Likewise. + * testsuite/30_threads/shared_mutex/cons/copy_neg.cc: Likewise. + * testsuite/30_threads/shared_mutex/requirements/standard_layout.cc: + Likewise. + * testsuite/30_threads/shared_mutex/try_lock/1.cc: Likewise. + * testsuite/30_threads/shared_mutex/try_lock/2.cc: Likewise. + * testsuite/30_threads/shared_mutex/unlock/1.cc: Likewise. + * testsuite/30_threads/shared_timed_mutex/cons/1.cc: Likewise. + * testsuite/30_threads/shared_timed_mutex/cons/assign_neg.cc: Likewise. + * testsuite/30_threads/shared_timed_mutex/cons/copy_neg.cc: Likewise. + * testsuite/30_threads/shared_timed_mutex/requirements/ + standard_layout.cc: Likewise. + * testsuite/30_threads/shared_timed_mutex/try_lock/1.cc: Likewise. + * testsuite/30_threads/shared_timed_mutex/try_lock/2.cc: Likewise. + * testsuite/30_threads/shared_timed_mutex/try_lock/3.cc: Likewise. + * testsuite/30_threads/shared_timed_mutex/unlock/1.cc: Likewise. + * testsuite/30_threads/this_thread/1.cc: Likewise. + * testsuite/30_threads/this_thread/2.cc: Likewise. + * testsuite/30_threads/this_thread/3.cc: Likewise. + * testsuite/30_threads/this_thread/4.cc: Likewise. + * testsuite/30_threads/this_thread/58038.cc: Likewise. + * testsuite/30_threads/thread/70503.cc: Likewise. + * testsuite/30_threads/thread/84532.cc: Likewise. + * testsuite/30_threads/thread/adl.cc: Likewise. + * testsuite/30_threads/thread/cons/1.cc: Likewise. + * testsuite/30_threads/thread/cons/2.cc: Likewise. + * testsuite/30_threads/thread/cons/3.cc: Likewise. + * testsuite/30_threads/thread/cons/4.cc: Likewise. + * testsuite/30_threads/thread/cons/49668.cc: Likewise. + * testsuite/30_threads/thread/cons/5.cc: Likewise. + * testsuite/30_threads/thread/cons/6.cc: Likewise. + * testsuite/30_threads/thread/cons/7.cc: Likewise. + * testsuite/30_threads/thread/cons/8.cc: Likewise. + * testsuite/30_threads/thread/cons/84535.cc: Likewise. + * testsuite/30_threads/thread/cons/9.cc: Likewise. + * testsuite/30_threads/thread/cons/assign_neg.cc: Likewise. + * testsuite/30_threads/thread/cons/copy_neg.cc: Likewise. + * testsuite/30_threads/thread/cons/lwg2097.cc: Likewise. + * testsuite/30_threads/thread/cons/moveable.cc: Likewise. + * testsuite/30_threads/thread/cons/terminate.cc: Likewise. + * testsuite/30_threads/thread/id/operators.cc: Likewise. + * testsuite/30_threads/thread/members/1.cc: Likewise. + * testsuite/30_threads/thread/members/2.cc: Likewise. + * testsuite/30_threads/thread/members/3.cc: Likewise. + * testsuite/30_threads/thread/members/4.cc: Likewise. + * testsuite/30_threads/thread/members/5.cc: Likewise. + * testsuite/30_threads/thread/members/hardware_concurrency.cc: + Likewise. + * testsuite/30_threads/thread/native_handle/cancel.cc: Likewise. + * testsuite/30_threads/thread/swap/1.cc: Likewise. + * testsuite/30_threads/timed_mutex/cons/1.cc: Likewise. + * testsuite/30_threads/timed_mutex/cons/assign_neg.cc: Likewise. + * testsuite/30_threads/timed_mutex/cons/copy_neg.cc: Likewise. + * testsuite/30_threads/timed_mutex/dest/destructor_locked.cc: Likewise. + * testsuite/30_threads/timed_mutex/lock/1.cc: Likewise. + * testsuite/30_threads/timed_mutex/native_handle/1.cc: Likewise. + * testsuite/30_threads/timed_mutex/native_handle/typesizes.cc: + Likewise. + * testsuite/30_threads/timed_mutex/requirements/ + standard_layout.cc: Likewise. + * testsuite/30_threads/timed_mutex/requirements/typedefs.cc: Likewise. + * testsuite/30_threads/timed_mutex/try_lock/1.cc: Likewise. + * testsuite/30_threads/timed_mutex/try_lock/2.cc: Likewise. + * testsuite/30_threads/timed_mutex/try_lock_for/1.cc: Likewise. + * testsuite/30_threads/timed_mutex/try_lock_for/2.cc: Likewise. + * testsuite/30_threads/timed_mutex/try_lock_for/3.cc: Likewise. + * testsuite/30_threads/timed_mutex/try_lock_until/1.cc: Likewise. + * testsuite/30_threads/timed_mutex/try_lock_until/2.cc: Likewise. + * testsuite/30_threads/timed_mutex/try_lock_until/57641.cc: Likewise. + * testsuite/30_threads/timed_mutex/unlock/1.cc: Likewise. + * testsuite/30_threads/timed_mutex/unlock/2.cc: Likewise. + * testsuite/30_threads/try_lock/1.cc: Likewise. + * testsuite/30_threads/try_lock/2.cc: Likewise. + * testsuite/30_threads/try_lock/3.cc: Likewise. + * testsuite/30_threads/try_lock/4.cc: Likewise. + * testsuite/30_threads/unique_lock/cons/1.cc: Likewise. + * testsuite/30_threads/unique_lock/cons/2.cc: Likewise. + * testsuite/30_threads/unique_lock/cons/3.cc: Likewise. + * testsuite/30_threads/unique_lock/cons/4.cc: Likewise. + * testsuite/30_threads/unique_lock/cons/5.cc: Likewise. + * testsuite/30_threads/unique_lock/cons/6.cc: Likewise. + * testsuite/30_threads/unique_lock/locking/1.cc: Likewise. + * testsuite/30_threads/unique_lock/locking/2.cc: Likewise. + * testsuite/30_threads/unique_lock/locking/3.cc: Likewise. + * testsuite/30_threads/unique_lock/locking/4.cc: Likewise. + * testsuite/30_threads/unique_lock/modifiers/1.cc: Likewise. + * testsuite/30_threads/unique_lock/requirements/ + explicit_instantiation.cc: Likewise. + * testsuite/30_threads/unique_lock/requirements/typedefs.cc: Likewise. + * testsuite/30_threads/async/42819.cc: Remove dg-require-cstdint directive. * testsuite/30_threads/async/49668.cc: Likewise. diff --git a/libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/1.cc b/libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/1.cc index b654cb0f55d..61aa025e3aa 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/1.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/1.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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/assign_neg.cc b/libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/assign_neg.cc index 15ebcdc4650..70dbc6dcd95 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/assign_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/assign_neg.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/copy_neg.cc b/libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/copy_neg.cc index 18f50587af4..a77371ea2b4 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/copy_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/copy_neg.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc b/libstdc++-v3/testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc index 45f68191e54..6e686c997e3 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_mutex/dest/destructor_locked.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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/recursive_mutex/lock/1.cc b/libstdc++-v3/testsuite/30_threads/recursive_mutex/lock/1.cc index bf95cd38442..32abb70f9ec 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_mutex/lock/1.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_mutex/lock/1.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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/recursive_mutex/native_handle/1.cc b/libstdc++-v3/testsuite/30_threads/recursive_mutex/native_handle/1.cc index 7847325c7a3..37d43e24c26 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_mutex/native_handle/1.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_mutex/native_handle/1.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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc b/libstdc++-v3/testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc index a595a7bf042..f1d48ac76c1 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_mutex/native_handle/typesizes.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/recursive_mutex/requirements/standard_layout.cc b/libstdc++-v3/testsuite/30_threads/recursive_mutex/requirements/standard_layout.cc index 6244ac767ef..0da376a2c1e 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_mutex/requirements/standard_layout.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_mutex/requirements/standard_layout.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/recursive_mutex/requirements/typedefs.cc b/libstdc++-v3/testsuite/30_threads/recursive_mutex/requirements/typedefs.cc index d50603b701a..75a43d74f41 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_mutex/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_mutex/requirements/typedefs.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // 2008-03-18 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/30_threads/recursive_mutex/try_lock/1.cc b/libstdc++-v3/testsuite/30_threads/recursive_mutex/try_lock/1.cc index 2594d0a8d98..5d65e07cbba 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_mutex/try_lock/1.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_mutex/try_lock/1.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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/recursive_mutex/try_lock/2.cc b/libstdc++-v3/testsuite/30_threads/recursive_mutex/try_lock/2.cc index 0bc67bbc697..75a71224cf6 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_mutex/try_lock/2.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_mutex/try_lock/2.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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/recursive_mutex/unlock/1.cc b/libstdc++-v3/testsuite/30_threads/recursive_mutex/unlock/1.cc index 77430076ed0..b979d21bdbb 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_mutex/unlock/1.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_mutex/unlock/1.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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/recursive_mutex/unlock/2.cc b/libstdc++-v3/testsuite/30_threads/recursive_mutex/unlock/2.cc index 43646ef5a39..24b9bfec09b 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_mutex/unlock/2.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_mutex/unlock/2.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) 2015-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/cons/1.cc b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/cons/1.cc index e52cb4d5802..583c61a185f 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/cons/1.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/cons/1.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++11 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc index f4fdf804e47..4a69c3eb987 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/cons/assign_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/cons/assign_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/30_threads/recursive_timed_mutex/cons/copy_neg.cc b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc index c39ed42fd95..89b52327a15 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/cons/copy_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/cons/copy_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/30_threads/recursive_timed_mutex/dest/destructor_locked.cc b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc index 2a9d1404e52..8281b5a6456 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++11 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/lock/1.cc b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/lock/1.cc index c0c7ee4a1f4..2a9a8116bfb 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/lock/1.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/lock/1.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++11 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/lock/2.cc b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/lock/2.cc index 3176899e5fa..3575c66bfb9 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/lock/2.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/lock/2.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++11 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc index 1bfb7ee380e..92db6e57b6c 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/native_handle/1.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-timed "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/native_handle/typesizes.cc b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/native_handle/typesizes.cc index e251fd4fda5..c1126ec2107 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/native_handle/typesizes.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/native_handle/typesizes.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-timed "" } // Copyright (C) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/requirements/typedefs.cc b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/requirements/typedefs.cc index 1af0b469151..14936118021 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/requirements/typedefs.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads-timed "" } // 2008-03-18 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc index ec6503ae012..f2bcbe85992 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++11 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc index 30bd19a10d4..667fd58a211 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++11 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc index ef95915065e..c80356e0534 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++11 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc index 5b31a33b648..251fb703564 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++11 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc index c7522130d98..d08d70dd26a 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++11 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc index ec6503ae012..f2bcbe85992 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++11 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc index 4bde2a6df62..e4ef325ff25 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++11 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/unlock/1.cc b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/unlock/1.cc index 95be53f92c5..d48eac54da4 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/unlock/1.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/unlock/1.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++11 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/unlock/2.cc b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/unlock/2.cc index 44c6dedf905..809dc8be6f1 100644 --- a/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/unlock/2.cc +++ b/libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/unlock/2.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) 2015-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/scoped_lock/cons/1.cc b/libstdc++-v3/testsuite/30_threads/scoped_lock/cons/1.cc index 8dc4000afb6..84548c55f57 100644 --- a/libstdc++-v3/testsuite/30_threads/scoped_lock/cons/1.cc +++ b/libstdc++-v3/testsuite/30_threads/scoped_lock/cons/1.cc @@ -1,6 +1,5 @@ // { dg-options "-std=gnu++17" } // { dg-do run { target c++17 } } -// { dg-require-cstdint "" } // Copyright (C) 2017-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/30_threads/scoped_lock/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/30_threads/scoped_lock/requirements/explicit_instantiation.cc index f258f96d993..708753a3354 100644 --- a/libstdc++-v3/testsuite/30_threads/scoped_lock/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/30_threads/scoped_lock/requirements/explicit_instantiation.cc @@ -1,6 +1,5 @@ // { dg-options "-std=gnu++17" } // { dg-do compile { target c++17 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2017-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/scoped_lock/requirements/typedefs.cc b/libstdc++-v3/testsuite/30_threads/scoped_lock/requirements/typedefs.cc index c9a0a1503af..b7331401cad 100644 --- a/libstdc++-v3/testsuite/30_threads/scoped_lock/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/30_threads/scoped_lock/requirements/typedefs.cc @@ -1,6 +1,5 @@ // { dg-options "-std=gnu++17" } // { dg-do compile { target c++17 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2017-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/shared_future/cons/assign.cc b/libstdc++-v3/testsuite/30_threads/shared_future/cons/assign.cc index 895b6bfaacf..64b48362123 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_future/cons/assign.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_future/cons/assign.cc @@ -1,5 +1,4 @@ // { dg-do run { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2010-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/shared_future/cons/constexpr.cc b/libstdc++-v3/testsuite/30_threads/shared_future/cons/constexpr.cc index 4fa2ab02268..42a7a73bbe1 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_future/cons/constexpr.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_future/cons/constexpr.cc @@ -1,6 +1,5 @@ // { dg-do compile { target c++11 } } // { dg-options "-fno-inline -g0" } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // { dg-final { scan-assembler-not "_ZNSt13shared_futureIvEC2Ev" } } // { dg-final { scan-assembler-not "_ZNSt13shared_futureIiEC2Ev" } } diff --git a/libstdc++-v3/testsuite/30_threads/shared_future/cons/copy.cc b/libstdc++-v3/testsuite/30_threads/shared_future/cons/copy.cc index 704cd5f5fe0..75a0f4be81d 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_future/cons/copy.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_future/cons/copy.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/shared_future/cons/default.cc b/libstdc++-v3/testsuite/30_threads/shared_future/cons/default.cc index 4a0cf07bf6a..baf1641ad9c 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_future/cons/default.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_future/cons/default.cc @@ -1,5 +1,4 @@ // { dg-do run { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2010-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/shared_future/cons/move.cc b/libstdc++-v3/testsuite/30_threads/shared_future/cons/move.cc index 94b3a16f325..91507254af3 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_future/cons/move.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_future/cons/move.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/shared_future/cons/move_assign.cc b/libstdc++-v3/testsuite/30_threads/shared_future/cons/move_assign.cc index 11f9365bfe3..376b0b89920 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_future/cons/move_assign.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_future/cons/move_assign.cc @@ -1,5 +1,4 @@ // { dg-do run { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2010-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/shared_future/members/45133.cc b/libstdc++-v3/testsuite/30_threads/shared_future/members/45133.cc index de20c6510cc..f7e2eff5df7 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_future/members/45133.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_future/members/45133.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) 2010-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/shared_future/members/get.cc b/libstdc++-v3/testsuite/30_threads/shared_future/members/get.cc index 6d6226a423e..5c3754eae53 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_future/members/get.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_future/members/get.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/shared_future/members/get2.cc b/libstdc++-v3/testsuite/30_threads/shared_future/members/get2.cc index a974b1362c6..35457d53066 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_future/members/get2.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_future/members/get2.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/shared_future/members/valid.cc b/libstdc++-v3/testsuite/30_threads/shared_future/members/valid.cc index 1a6b8a40d2e..e832251dedd 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_future/members/valid.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_future/members/valid.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) 2010-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/shared_future/members/wait.cc b/libstdc++-v3/testsuite/30_threads/shared_future/members/wait.cc index 6828425502b..809bf36f49d 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_future/members/wait.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_future/members/wait.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/shared_future/members/wait_for.cc b/libstdc++-v3/testsuite/30_threads/shared_future/members/wait_for.cc index 6cd04bcafc1..c5a7cd58df1 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_future/members/wait_for.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_future/members/wait_for.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/shared_future/members/wait_until.cc b/libstdc++-v3/testsuite/30_threads/shared_future/members/wait_until.cc index 996507b0242..13dd16ebf1b 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_future/members/wait_until.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_future/members/wait_until.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/shared_future/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/30_threads/shared_future/requirements/explicit_instantiation.cc index 4defeb4e5ff..9c9db89d203 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_future/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_future/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/shared_lock/cons/1.cc b/libstdc++-v3/testsuite/30_threads/shared_lock/cons/1.cc index aa132876fd7..c1301be380c 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_lock/cons/1.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_lock/cons/1.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++14 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2013-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/shared_lock/cons/2.cc b/libstdc++-v3/testsuite/30_threads/shared_lock/cons/2.cc index a91e6c5f088..8f005ff1b39 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_lock/cons/2.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_lock/cons/2.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++14 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2013-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/shared_lock/cons/3.cc b/libstdc++-v3/testsuite/30_threads/shared_lock/cons/3.cc index def95439ae0..740ded29d65 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_lock/cons/3.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_lock/cons/3.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++14 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2013-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/shared_lock/cons/4.cc b/libstdc++-v3/testsuite/30_threads/shared_lock/cons/4.cc index 360242fc241..5838f7fd0fb 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_lock/cons/4.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_lock/cons/4.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++14 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2013-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/shared_lock/cons/5.cc b/libstdc++-v3/testsuite/30_threads/shared_lock/cons/5.cc index f8a90041bde..b449096c475 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_lock/cons/5.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_lock/cons/5.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++14 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/30_threads/shared_lock/cons/6.cc b/libstdc++-v3/testsuite/30_threads/shared_lock/cons/6.cc index 99eeddc2531..de8514c49ac 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_lock/cons/6.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_lock/cons/6.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++14 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/30_threads/shared_lock/locking/1.cc b/libstdc++-v3/testsuite/30_threads/shared_lock/locking/1.cc index 26ced0e212c..73f029a108a 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_lock/locking/1.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_lock/locking/1.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++14 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2013-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/shared_lock/locking/2.cc b/libstdc++-v3/testsuite/30_threads/shared_lock/locking/2.cc index 73f274e426b..fae3f54753c 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_lock/locking/2.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_lock/locking/2.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++14 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2013-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/shared_lock/locking/3.cc b/libstdc++-v3/testsuite/30_threads/shared_lock/locking/3.cc index f19ff272a62..e4d44bab0d6 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_lock/locking/3.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_lock/locking/3.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++14 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/30_threads/shared_lock/locking/4.cc b/libstdc++-v3/testsuite/30_threads/shared_lock/locking/4.cc index 2fce9bf8dc2..b06ac236baf 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_lock/locking/4.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_lock/locking/4.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++14 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/30_threads/shared_lock/modifiers/1.cc b/libstdc++-v3/testsuite/30_threads/shared_lock/modifiers/1.cc index 08f6d87dd50..57839e63685 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_lock/modifiers/1.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_lock/modifiers/1.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++14 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2013-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/shared_lock/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/30_threads/shared_lock/requirements/explicit_instantiation.cc index 0b8def57470..eb3b45511bd 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_lock/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_lock/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++14 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2013-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/shared_lock/requirements/typedefs.cc b/libstdc++-v3/testsuite/30_threads/shared_lock/requirements/typedefs.cc index 8f05df230f3..fa386f19e74 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_lock/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_lock/requirements/typedefs.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++14 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2013-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/shared_mutex/cons/1.cc b/libstdc++-v3/testsuite/30_threads/shared_mutex/cons/1.cc index 1c605e55071..8930fe34c1f 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_mutex/cons/1.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_mutex/cons/1.cc @@ -1,7 +1,6 @@ // { dg-do run } // { dg-options "-std=gnu++17 -pthread" } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2015-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/shared_mutex/cons/assign_neg.cc b/libstdc++-v3/testsuite/30_threads/shared_mutex/cons/assign_neg.cc index 03b0b95e676..72dcab53c9d 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_mutex/cons/assign_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_mutex/cons/assign_neg.cc @@ -1,6 +1,5 @@ // { dg-do compile } // { dg-options "-std=gnu++17" } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2015-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/shared_mutex/cons/copy_neg.cc b/libstdc++-v3/testsuite/30_threads/shared_mutex/cons/copy_neg.cc index 4df782f8fd4..d6dc8e3dafc 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_mutex/cons/copy_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_mutex/cons/copy_neg.cc @@ -1,6 +1,5 @@ // { dg-do compile } // { dg-options "-std=gnu++17" } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2015-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/shared_mutex/requirements/standard_layout.cc b/libstdc++-v3/testsuite/30_threads/shared_mutex/requirements/standard_layout.cc index 0b870359ec0..c8402118801 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_mutex/requirements/standard_layout.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_mutex/requirements/standard_layout.cc @@ -1,6 +1,5 @@ // { dg-do compile } // { dg-options "-std=gnu++17" } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2015-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/shared_mutex/try_lock/1.cc b/libstdc++-v3/testsuite/30_threads/shared_mutex/try_lock/1.cc index 2a1521019ce..abcbc162853 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_mutex/try_lock/1.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_mutex/try_lock/1.cc @@ -1,7 +1,6 @@ // { dg-do run } // { dg-options "-std=gnu++17 -pthread" } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2015-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/shared_mutex/try_lock/2.cc b/libstdc++-v3/testsuite/30_threads/shared_mutex/try_lock/2.cc index 4d2d179e60c..078e50fcffc 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_mutex/try_lock/2.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_mutex/try_lock/2.cc @@ -1,7 +1,6 @@ // { dg-do run } // { dg-options "-std=gnu++17 -pthread" } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2015-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/shared_mutex/unlock/1.cc b/libstdc++-v3/testsuite/30_threads/shared_mutex/unlock/1.cc index b420d72b26b..735302a2538 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_mutex/unlock/1.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_mutex/unlock/1.cc @@ -1,7 +1,6 @@ // { dg-do run } // { dg-options "-std=gnu++17 -pthread" } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2015-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/cons/1.cc b/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/cons/1.cc index 546d228521b..fe93c6682a4 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/cons/1.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/cons/1.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++14 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2013-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/cons/assign_neg.cc b/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/cons/assign_neg.cc index 78a5bc7722d..e18024aa352 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/cons/assign_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/cons/assign_neg.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++14 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/cons/copy_neg.cc b/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/cons/copy_neg.cc index 54f633f0f31..8fa38b3c4eb 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/cons/copy_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/cons/copy_neg.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++14 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2013-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/requirements/standard_layout.cc b/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/requirements/standard_layout.cc index ec831b1a6c8..4667edf26c6 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/requirements/standard_layout.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/requirements/standard_layout.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++14 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2013-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/try_lock/1.cc b/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/try_lock/1.cc index 167b4707dd4..5072a8828b4 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/try_lock/1.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/try_lock/1.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++14 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2013-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/try_lock/2.cc b/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/try_lock/2.cc index 6e82677f7b3..607f5b794e6 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/try_lock/2.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/try_lock/2.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++14 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2013-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/try_lock/3.cc b/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/try_lock/3.cc index b7321cbcb0d..e7a7228855d 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/try_lock/3.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/try_lock/3.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++14 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2013-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/unlock/1.cc b/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/unlock/1.cc index ce48388900c..3b02e85835b 100644 --- a/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/unlock/1.cc +++ b/libstdc++-v3/testsuite/30_threads/shared_timed_mutex/unlock/1.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++14 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2015-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/this_thread/1.cc b/libstdc++-v3/testsuite/30_threads/this_thread/1.cc index c39604c7d46..68edee1645a 100644 --- a/libstdc++-v3/testsuite/30_threads/this_thread/1.cc +++ b/libstdc++-v3/testsuite/30_threads/this_thread/1.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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/this_thread/2.cc b/libstdc++-v3/testsuite/30_threads/this_thread/2.cc index 8e59832502c..02e88d45821 100644 --- a/libstdc++-v3/testsuite/30_threads/this_thread/2.cc +++ b/libstdc++-v3/testsuite/30_threads/this_thread/2.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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/this_thread/3.cc b/libstdc++-v3/testsuite/30_threads/this_thread/3.cc index 073d0a83ed1..c7dd27731c8 100644 --- a/libstdc++-v3/testsuite/30_threads/this_thread/3.cc +++ b/libstdc++-v3/testsuite/30_threads/this_thread/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 "" } // { dg-require-sleep "" } diff --git a/libstdc++-v3/testsuite/30_threads/this_thread/4.cc b/libstdc++-v3/testsuite/30_threads/this_thread/4.cc index 21badfa3394..c4715f560c7 100644 --- a/libstdc++-v3/testsuite/30_threads/this_thread/4.cc +++ b/libstdc++-v3/testsuite/30_threads/this_thread/4.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-sleep "" } diff --git a/libstdc++-v3/testsuite/30_threads/this_thread/58038.cc b/libstdc++-v3/testsuite/30_threads/this_thread/58038.cc index a73b44f31da..fa0c69ebf0c 100644 --- a/libstdc++-v3/testsuite/30_threads/this_thread/58038.cc +++ b/libstdc++-v3/testsuite/30_threads/this_thread/58038.cc @@ -16,7 +16,6 @@ // . // { dg-do run { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-time "" } #include diff --git a/libstdc++-v3/testsuite/30_threads/thread/70503.cc b/libstdc++-v3/testsuite/30_threads/thread/70503.cc index c44a84a768a..9ffbd72e7be 100644 --- a/libstdc++-v3/testsuite/30_threads/thread/70503.cc +++ b/libstdc++-v3/testsuite/30_threads/thread/70503.cc @@ -17,7 +17,6 @@ // { dg-do link { target c++11 } } // { dg-options "-static" { target *-*-*gnu* } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // { dg-require-effective-target static } diff --git a/libstdc++-v3/testsuite/30_threads/thread/84532.cc b/libstdc++-v3/testsuite/30_threads/thread/84532.cc index f389b9b88e3..570f96d7861 100644 --- a/libstdc++-v3/testsuite/30_threads/thread/84532.cc +++ b/libstdc++-v3/testsuite/30_threads/thread/84532.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/thread/adl.cc b/libstdc++-v3/testsuite/30_threads/thread/adl.cc index c27e2969c3a..969b2858f26 100644 --- a/libstdc++-v3/testsuite/30_threads/thread/adl.cc +++ b/libstdc++-v3/testsuite/30_threads/thread/adl.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2012-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/thread/cons/1.cc b/libstdc++-v3/testsuite/30_threads/thread/cons/1.cc index fb95fb225ef..6ad7ae023bc 100644 --- a/libstdc++-v3/testsuite/30_threads/thread/cons/1.cc +++ b/libstdc++-v3/testsuite/30_threads/thread/cons/1.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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/thread/cons/2.cc b/libstdc++-v3/testsuite/30_threads/thread/cons/2.cc index 269d6edd316..69631ae10b2 100644 --- a/libstdc++-v3/testsuite/30_threads/thread/cons/2.cc +++ b/libstdc++-v3/testsuite/30_threads/thread/cons/2.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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/thread/cons/3.cc b/libstdc++-v3/testsuite/30_threads/thread/cons/3.cc index cb88c4b2e5f..eac73720c00 100644 --- a/libstdc++-v3/testsuite/30_threads/thread/cons/3.cc +++ b/libstdc++-v3/testsuite/30_threads/thread/cons/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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/thread/cons/4.cc b/libstdc++-v3/testsuite/30_threads/thread/cons/4.cc index 4cd02f570a4..6ae936a830f 100644 --- a/libstdc++-v3/testsuite/30_threads/thread/cons/4.cc +++ b/libstdc++-v3/testsuite/30_threads/thread/cons/4.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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/thread/cons/49668.cc b/libstdc++-v3/testsuite/30_threads/thread/cons/49668.cc index b147f21ae54..326f70188db 100644 --- a/libstdc++-v3/testsuite/30_threads/thread/cons/49668.cc +++ b/libstdc++-v3/testsuite/30_threads/thread/cons/49668.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) 2011-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/thread/cons/5.cc b/libstdc++-v3/testsuite/30_threads/thread/cons/5.cc index e91d3db7763..381ca24913a 100644 --- a/libstdc++-v3/testsuite/30_threads/thread/cons/5.cc +++ b/libstdc++-v3/testsuite/30_threads/thread/cons/5.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/thread/cons/6.cc b/libstdc++-v3/testsuite/30_threads/thread/cons/6.cc index 1cdf97c6ecb..76e04ce62e2 100644 --- a/libstdc++-v3/testsuite/30_threads/thread/cons/6.cc +++ b/libstdc++-v3/testsuite/30_threads/thread/cons/6.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/thread/cons/7.cc b/libstdc++-v3/testsuite/30_threads/thread/cons/7.cc index 15c3c620af3..c6392141b39 100644 --- a/libstdc++-v3/testsuite/30_threads/thread/cons/7.cc +++ b/libstdc++-v3/testsuite/30_threads/thread/cons/7.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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/thread/cons/8.cc b/libstdc++-v3/testsuite/30_threads/thread/cons/8.cc index 36020ed5ca7..53579432261 100644 --- a/libstdc++-v3/testsuite/30_threads/thread/cons/8.cc +++ b/libstdc++-v3/testsuite/30_threads/thread/cons/8.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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/thread/cons/84535.cc b/libstdc++-v3/testsuite/30_threads/thread/cons/84535.cc index c96929b6873..ad344375a3f 100644 --- a/libstdc++-v3/testsuite/30_threads/thread/cons/84535.cc +++ b/libstdc++-v3/testsuite/30_threads/thread/cons/84535.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/thread/cons/9.cc b/libstdc++-v3/testsuite/30_threads/thread/cons/9.cc index fa86a7d1d98..7713719ec32 100644 --- a/libstdc++-v3/testsuite/30_threads/thread/cons/9.cc +++ b/libstdc++-v3/testsuite/30_threads/thread/cons/9.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/thread/cons/assign_neg.cc b/libstdc++-v3/testsuite/30_threads/thread/cons/assign_neg.cc index c0148ba186e..4e2596c7b17 100644 --- a/libstdc++-v3/testsuite/30_threads/thread/cons/assign_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/thread/cons/assign_neg.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/thread/cons/copy_neg.cc b/libstdc++-v3/testsuite/30_threads/thread/cons/copy_neg.cc index 731f5afc9ee..75ada2d49be 100644 --- a/libstdc++-v3/testsuite/30_threads/thread/cons/copy_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/thread/cons/copy_neg.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/thread/cons/lwg2097.cc b/libstdc++-v3/testsuite/30_threads/thread/cons/lwg2097.cc index bf99db15fa1..1c7a394f6da 100644 --- a/libstdc++-v3/testsuite/30_threads/thread/cons/lwg2097.cc +++ b/libstdc++-v3/testsuite/30_threads/thread/cons/lwg2097.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2017-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/thread/cons/moveable.cc b/libstdc++-v3/testsuite/30_threads/thread/cons/moveable.cc index 6be8a257ca0..1b8bc7d5e11 100644 --- a/libstdc++-v3/testsuite/30_threads/thread/cons/moveable.cc +++ b/libstdc++-v3/testsuite/30_threads/thread/cons/moveable.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/thread/cons/terminate.cc b/libstdc++-v3/testsuite/30_threads/thread/cons/terminate.cc index cb6fc3eb120..cd752050635 100644 --- a/libstdc++-v3/testsuite/30_threads/thread/cons/terminate.cc +++ b/libstdc++-v3/testsuite/30_threads/thread/cons/terminate.cc @@ -19,7 +19,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++11 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } #include diff --git a/libstdc++-v3/testsuite/30_threads/thread/id/operators.cc b/libstdc++-v3/testsuite/30_threads/thread/id/operators.cc index 14d987d31b9..b3dd5eeaf2d 100644 --- a/libstdc++-v3/testsuite/30_threads/thread/id/operators.cc +++ b/libstdc++-v3/testsuite/30_threads/thread/id/operators.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // Copyright (C) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/thread/members/1.cc b/libstdc++-v3/testsuite/30_threads/thread/members/1.cc index df5c7b0ad71..0d81c6c979f 100644 --- a/libstdc++-v3/testsuite/30_threads/thread/members/1.cc +++ b/libstdc++-v3/testsuite/30_threads/thread/members/1.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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/thread/members/2.cc b/libstdc++-v3/testsuite/30_threads/thread/members/2.cc index 8f5d014e10d..92814cb9f86 100644 --- a/libstdc++-v3/testsuite/30_threads/thread/members/2.cc +++ b/libstdc++-v3/testsuite/30_threads/thread/members/2.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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/thread/members/3.cc b/libstdc++-v3/testsuite/30_threads/thread/members/3.cc index 4c3bd11a252..b1aa3a56d42 100644 --- a/libstdc++-v3/testsuite/30_threads/thread/members/3.cc +++ b/libstdc++-v3/testsuite/30_threads/thread/members/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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/thread/members/4.cc b/libstdc++-v3/testsuite/30_threads/thread/members/4.cc index b908371d061..c72bcb52bd3 100644 --- a/libstdc++-v3/testsuite/30_threads/thread/members/4.cc +++ b/libstdc++-v3/testsuite/30_threads/thread/members/4.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/thread/members/5.cc b/libstdc++-v3/testsuite/30_threads/thread/members/5.cc index a862d063829..4777e626287 100644 --- a/libstdc++-v3/testsuite/30_threads/thread/members/5.cc +++ b/libstdc++-v3/testsuite/30_threads/thread/members/5.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) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/thread/members/hardware_concurrency.cc b/libstdc++-v3/testsuite/30_threads/thread/members/hardware_concurrency.cc index bfb3f03b45e..661b31d52a8 100644 --- a/libstdc++-v3/testsuite/30_threads/thread/members/hardware_concurrency.cc +++ b/libstdc++-v3/testsuite/30_threads/thread/members/hardware_concurrency.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-nprocs "" } diff --git a/libstdc++-v3/testsuite/30_threads/thread/native_handle/cancel.cc b/libstdc++-v3/testsuite/30_threads/thread/native_handle/cancel.cc index 4ee1d3caf16..ce70e849e55 100644 --- a/libstdc++-v3/testsuite/30_threads/thread/native_handle/cancel.cc +++ b/libstdc++-v3/testsuite/30_threads/thread/native_handle/cancel.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) 2012-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/thread/swap/1.cc b/libstdc++-v3/testsuite/30_threads/thread/swap/1.cc index d678d9f8d86..90e0cb6da8a 100644 --- a/libstdc++-v3/testsuite/30_threads/thread/swap/1.cc +++ b/libstdc++-v3/testsuite/30_threads/thread/swap/1.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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/timed_mutex/cons/1.cc b/libstdc++-v3/testsuite/30_threads/timed_mutex/cons/1.cc index ee66248430d..4a3db4da333 100644 --- a/libstdc++-v3/testsuite/30_threads/timed_mutex/cons/1.cc +++ b/libstdc++-v3/testsuite/30_threads/timed_mutex/cons/1.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++11 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/30_threads/timed_mutex/cons/assign_neg.cc b/libstdc++-v3/testsuite/30_threads/timed_mutex/cons/assign_neg.cc index f2f77ca6d2e..47f33a833a5 100644 --- a/libstdc++-v3/testsuite/30_threads/timed_mutex/cons/assign_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/timed_mutex/cons/assign_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/30_threads/timed_mutex/cons/copy_neg.cc b/libstdc++-v3/testsuite/30_threads/timed_mutex/cons/copy_neg.cc index a9af2e3a8e5..d21bd61041a 100644 --- a/libstdc++-v3/testsuite/30_threads/timed_mutex/cons/copy_neg.cc +++ b/libstdc++-v3/testsuite/30_threads/timed_mutex/cons/copy_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/30_threads/timed_mutex/dest/destructor_locked.cc b/libstdc++-v3/testsuite/30_threads/timed_mutex/dest/destructor_locked.cc index 8c5fc03e606..3590873358a 100644 --- a/libstdc++-v3/testsuite/30_threads/timed_mutex/dest/destructor_locked.cc +++ b/libstdc++-v3/testsuite/30_threads/timed_mutex/dest/destructor_locked.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++11 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/30_threads/timed_mutex/lock/1.cc b/libstdc++-v3/testsuite/30_threads/timed_mutex/lock/1.cc index 7dc461292a2..066783427a4 100644 --- a/libstdc++-v3/testsuite/30_threads/timed_mutex/lock/1.cc +++ b/libstdc++-v3/testsuite/30_threads/timed_mutex/lock/1.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++11 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/30_threads/timed_mutex/native_handle/1.cc b/libstdc++-v3/testsuite/30_threads/timed_mutex/native_handle/1.cc index 2c1e2ce4d36..2e22bbb654a 100644 --- a/libstdc++-v3/testsuite/30_threads/timed_mutex/native_handle/1.cc +++ b/libstdc++-v3/testsuite/30_threads/timed_mutex/native_handle/1.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-timed "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/timed_mutex/native_handle/typesizes.cc b/libstdc++-v3/testsuite/30_threads/timed_mutex/native_handle/typesizes.cc index b7f96ab87eb..6a965e57846 100644 --- a/libstdc++-v3/testsuite/30_threads/timed_mutex/native_handle/typesizes.cc +++ b/libstdc++-v3/testsuite/30_threads/timed_mutex/native_handle/typesizes.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-timed "" } // Copyright (C) 2009-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/timed_mutex/requirements/standard_layout.cc b/libstdc++-v3/testsuite/30_threads/timed_mutex/requirements/standard_layout.cc index 459f7e1fac7..e8f4adcd692 100644 --- a/libstdc++-v3/testsuite/30_threads/timed_mutex/requirements/standard_layout.cc +++ b/libstdc++-v3/testsuite/30_threads/timed_mutex/requirements/standard_layout.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/30_threads/timed_mutex/requirements/typedefs.cc b/libstdc++-v3/testsuite/30_threads/timed_mutex/requirements/typedefs.cc index ab90545eb71..cb690fc14bb 100644 --- a/libstdc++-v3/testsuite/30_threads/timed_mutex/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/30_threads/timed_mutex/requirements/typedefs.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads-timed "" } // 2008-07-23 Chris Fairles diff --git a/libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock/1.cc b/libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock/1.cc index 26aa4e7b5e7..ff13fed3250 100644 --- a/libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock/1.cc +++ b/libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock/1.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++11 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock/2.cc b/libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock/2.cc index 45af57c3fa8..d36d66c4755 100644 --- a/libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock/2.cc +++ b/libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock/2.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++11 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_for/1.cc b/libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_for/1.cc index 06496241757..09a6000d920 100644 --- a/libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_for/1.cc +++ b/libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_for/1.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++11 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_for/2.cc b/libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_for/2.cc index 7370d31bed1..92b31707218 100644 --- a/libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_for/2.cc +++ b/libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_for/2.cc @@ -24,13 +24,14 @@ #include #include +#include #include #include int main() { typedef std::timed_mutex mutex_type; - typedef std::chrono::duration picoseconds; + typedef std::chrono::duration picoseconds; try { diff --git a/libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_for/3.cc b/libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_for/3.cc index 82dc90cee04..fd2731a5be5 100644 --- a/libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_for/3.cc +++ b/libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_for/3.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++11 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_until/1.cc b/libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_until/1.cc index 26aa4e7b5e7..ff13fed3250 100644 --- a/libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_until/1.cc +++ b/libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_until/1.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++11 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_until/2.cc b/libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_until/2.cc index 45af57c3fa8..d36d66c4755 100644 --- a/libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_until/2.cc +++ b/libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_until/2.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++11 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_until/57641.cc b/libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_until/57641.cc index 07e7c8d6572..1801bef77e8 100644 --- a/libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_until/57641.cc +++ b/libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_until/57641.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++11 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/30_threads/timed_mutex/unlock/1.cc b/libstdc++-v3/testsuite/30_threads/timed_mutex/unlock/1.cc index d2abefd4391..ca7c992e85c 100644 --- a/libstdc++-v3/testsuite/30_threads/timed_mutex/unlock/1.cc +++ b/libstdc++-v3/testsuite/30_threads/timed_mutex/unlock/1.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++11 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/30_threads/timed_mutex/unlock/2.cc b/libstdc++-v3/testsuite/30_threads/timed_mutex/unlock/2.cc index 1366ce7491e..6484b23e188 100644 --- a/libstdc++-v3/testsuite/30_threads/timed_mutex/unlock/2.cc +++ b/libstdc++-v3/testsuite/30_threads/timed_mutex/unlock/2.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) 2015-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/try_lock/1.cc b/libstdc++-v3/testsuite/30_threads/try_lock/1.cc index 6e81f6ded47..358a65bcae1 100644 --- a/libstdc++-v3/testsuite/30_threads/try_lock/1.cc +++ b/libstdc++-v3/testsuite/30_threads/try_lock/1.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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/try_lock/2.cc b/libstdc++-v3/testsuite/30_threads/try_lock/2.cc index 1059a98f82f..aa16b02e1ca 100644 --- a/libstdc++-v3/testsuite/30_threads/try_lock/2.cc +++ b/libstdc++-v3/testsuite/30_threads/try_lock/2.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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/try_lock/3.cc b/libstdc++-v3/testsuite/30_threads/try_lock/3.cc index cf7d1a47851..5b8336847bf 100644 --- a/libstdc++-v3/testsuite/30_threads/try_lock/3.cc +++ b/libstdc++-v3/testsuite/30_threads/try_lock/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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/try_lock/4.cc b/libstdc++-v3/testsuite/30_threads/try_lock/4.cc index c4e58e667d5..0385de094c4 100644 --- a/libstdc++-v3/testsuite/30_threads/try_lock/4.cc +++ b/libstdc++-v3/testsuite/30_threads/try_lock/4.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) 2010-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/unique_lock/cons/1.cc b/libstdc++-v3/testsuite/30_threads/unique_lock/cons/1.cc index 8566a9b6af6..068e3e7846f 100644 --- a/libstdc++-v3/testsuite/30_threads/unique_lock/cons/1.cc +++ b/libstdc++-v3/testsuite/30_threads/unique_lock/cons/1.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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/unique_lock/cons/2.cc b/libstdc++-v3/testsuite/30_threads/unique_lock/cons/2.cc index 707848105c8..fea6a07b6ed 100644 --- a/libstdc++-v3/testsuite/30_threads/unique_lock/cons/2.cc +++ b/libstdc++-v3/testsuite/30_threads/unique_lock/cons/2.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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/unique_lock/cons/3.cc b/libstdc++-v3/testsuite/30_threads/unique_lock/cons/3.cc index a3982ac7428..4f5a21d9d8c 100644 --- a/libstdc++-v3/testsuite/30_threads/unique_lock/cons/3.cc +++ b/libstdc++-v3/testsuite/30_threads/unique_lock/cons/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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/unique_lock/cons/4.cc b/libstdc++-v3/testsuite/30_threads/unique_lock/cons/4.cc index 8d0b9f5f6a4..b6ce21c2a05 100644 --- a/libstdc++-v3/testsuite/30_threads/unique_lock/cons/4.cc +++ b/libstdc++-v3/testsuite/30_threads/unique_lock/cons/4.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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/unique_lock/cons/5.cc b/libstdc++-v3/testsuite/30_threads/unique_lock/cons/5.cc index 111c40e4b5c..d417d472bc4 100644 --- a/libstdc++-v3/testsuite/30_threads/unique_lock/cons/5.cc +++ b/libstdc++-v3/testsuite/30_threads/unique_lock/cons/5.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++11 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/30_threads/unique_lock/cons/6.cc b/libstdc++-v3/testsuite/30_threads/unique_lock/cons/6.cc index 0d202619a97..199ae91809f 100644 --- a/libstdc++-v3/testsuite/30_threads/unique_lock/cons/6.cc +++ b/libstdc++-v3/testsuite/30_threads/unique_lock/cons/6.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++11 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/30_threads/unique_lock/locking/1.cc b/libstdc++-v3/testsuite/30_threads/unique_lock/locking/1.cc index b6e8753c74f..299996910a3 100644 --- a/libstdc++-v3/testsuite/30_threads/unique_lock/locking/1.cc +++ b/libstdc++-v3/testsuite/30_threads/unique_lock/locking/1.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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/unique_lock/locking/2.cc b/libstdc++-v3/testsuite/30_threads/unique_lock/locking/2.cc index e34254a3a1f..61c444db997 100644 --- a/libstdc++-v3/testsuite/30_threads/unique_lock/locking/2.cc +++ b/libstdc++-v3/testsuite/30_threads/unique_lock/locking/2.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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/unique_lock/locking/3.cc b/libstdc++-v3/testsuite/30_threads/unique_lock/locking/3.cc index cf73f0c1c63..58f94ce1dab 100644 --- a/libstdc++-v3/testsuite/30_threads/unique_lock/locking/3.cc +++ b/libstdc++-v3/testsuite/30_threads/unique_lock/locking/3.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++11 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/30_threads/unique_lock/locking/4.cc b/libstdc++-v3/testsuite/30_threads/unique_lock/locking/4.cc index b4efd727744..a03786cfb5c 100644 --- a/libstdc++-v3/testsuite/30_threads/unique_lock/locking/4.cc +++ b/libstdc++-v3/testsuite/30_threads/unique_lock/locking/4.cc @@ -2,7 +2,6 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++11 } // { dg-require-effective-target pthread } -// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/30_threads/unique_lock/modifiers/1.cc b/libstdc++-v3/testsuite/30_threads/unique_lock/modifiers/1.cc index f291a91a46c..fa424e84b05 100644 --- a/libstdc++-v3/testsuite/30_threads/unique_lock/modifiers/1.cc +++ b/libstdc++-v3/testsuite/30_threads/unique_lock/modifiers/1.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) 2008-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/30_threads/unique_lock/requirements/explicit_instantiation.cc b/libstdc++-v3/testsuite/30_threads/unique_lock/requirements/explicit_instantiation.cc index be35a265b3a..2424ebf17d5 100644 --- a/libstdc++-v3/testsuite/30_threads/unique_lock/requirements/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/30_threads/unique_lock/requirements/explicit_instantiation.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // 2008-03-14 Benjamin Kosnik diff --git a/libstdc++-v3/testsuite/30_threads/unique_lock/requirements/typedefs.cc b/libstdc++-v3/testsuite/30_threads/unique_lock/requirements/typedefs.cc index ed9b7811507..e8aff4ceaf4 100644 --- a/libstdc++-v3/testsuite/30_threads/unique_lock/requirements/typedefs.cc +++ b/libstdc++-v3/testsuite/30_threads/unique_lock/requirements/typedefs.cc @@ -1,5 +1,4 @@ // { dg-do compile { target c++11 } } -// { dg-require-cstdint "" } // { dg-require-gthreads "" } // 2008-03-14 Benjamin Kosnik From patchwork Thu Jul 26 14:01:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 949699 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-482452-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="HdLoXti1"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41bv455TVLz9ryl for ; Fri, 27 Jul 2018 00:04:53 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:in-reply-to:references:in-reply-to :references; q=dns; s=default; b=o5t26hC/skIJ/4n1Ny80Ba4Kie3/tSw W0YhRlHPReQUhcD6XR1ciKiDj8i7MM3k9ZvQCjIj0ceWvSSytA0xIrkRv4w+t81E UNnAgZjX/T94GWJ9OEe4V6BPxMAw9Js6oPeUtYqV/m5hHgMWiIMYeWXJB/jtkP6D c8PswHeZPhD8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:in-reply-to:references:in-reply-to :references; s=default; bh=z42SCJYvOdb2xHVJDC7WPzWdeDE=; b=HdLoX ti1gABgG/jxlQiO0gvvjnVvVfRUV6wGJydj4916euQ7Dd5gA4Xwcsmldz4Hy7zcg G/WYIfl8ChRgIC+UEwC1RR4WB+bAVyIiSFI5A8xVE4ZRCA/BIrcqNdYsX7ebmbht 5gZiJfOTb8ok8fVKs1sb0JjTgHLE3KztRQpikY= Received: (qmail 73443 invoked by alias); 26 Jul 2018 14:02:29 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 73183 invoked by uid 89); 26 Jul 2018 14:02:27 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.3 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS, TIME_LIMIT_EXCEEDED, URIBL_SBL autolearn=unavailable version=3.3.2 spammy=26_numerics, simulator, fs, carlini X-HELO: mx1.redhat.com Received: from mx3-rdu2.redhat.com (HELO mx1.redhat.com) (66.187.233.73) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 26 Jul 2018 14:02:17 +0000 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 020AB40241ED; Thu, 26 Jul 2018 14:02:16 +0000 (UTC) Received: from localhost (unknown [10.33.36.95]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7E82D2026D68; Thu, 26 Jul 2018 14:02:15 +0000 (UTC) From: jwakely@redhat.com To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [PATCH 8/8] Add missing dg-require-cstdint directives to tests Date: Thu, 26 Jul 2018 15:01:57 +0100 Message-Id: <65becec079ef8c72449b6f121396df369d8ae0d5.1532613690.git.jwakely@redhat.com> In-Reply-To: References: In-Reply-To: References: From: Jonathan Wakely * 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. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 225b4bec625..666d49721ca 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,89 @@ 2018-07-26 Jonathan Wakely + * 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. diff --git a/libstdc++-v3/testsuite/18_support/aligned_alloc/aligned_alloc.cc b/libstdc++-v3/testsuite/18_support/aligned_alloc/aligned_alloc.cc index 8af9c723ad1..204735ce710 100644 --- a/libstdc++-v3/testsuite/18_support/aligned_alloc/aligned_alloc.cc +++ b/libstdc++-v3/testsuite/18_support/aligned_alloc/aligned_alloc.cc @@ -17,6 +17,7 @@ // { dg-options "-std=gnu++17" } // { dg-do run { target c++17 } } +// { dg-require-cstdint "" } #include #include diff --git a/libstdc++-v3/testsuite/20_util/allocator/overaligned.cc b/libstdc++-v3/testsuite/20_util/allocator/overaligned.cc index 288777ab78e..62c07ea8211 100644 --- a/libstdc++-v3/testsuite/20_util/allocator/overaligned.cc +++ b/libstdc++-v3/testsuite/20_util/allocator/overaligned.cc @@ -17,6 +17,7 @@ // { dg-options "-faligned-new" } // { dg-do run { target c++11 } } +// { dg-require-cstdint "" } #include #include diff --git a/libstdc++-v3/testsuite/20_util/any/cons/aligned.cc b/libstdc++-v3/testsuite/20_util/any/cons/aligned.cc index 15420ada2e9..317cda6c653 100644 --- a/libstdc++-v3/testsuite/20_util/any/cons/aligned.cc +++ b/libstdc++-v3/testsuite/20_util/any/cons/aligned.cc @@ -16,6 +16,7 @@ // . // { dg-options "-std=gnu++17" } +// { dg-require-cstdint "" } #include #include diff --git a/libstdc++-v3/testsuite/20_util/monotonic_buffer_resource/allocate.cc b/libstdc++-v3/testsuite/20_util/monotonic_buffer_resource/allocate.cc index d1c2715ef8d..412150944cd 100644 --- a/libstdc++-v3/testsuite/20_util/monotonic_buffer_resource/allocate.cc +++ b/libstdc++-v3/testsuite/20_util/monotonic_buffer_resource/allocate.cc @@ -17,6 +17,7 @@ // { dg-options "-std=gnu++17" } // { dg-do run { target c++17 } } +// { dg-require-cstdint "" } #include #include diff --git a/libstdc++-v3/testsuite/20_util/monotonic_buffer_resource/deallocate.cc b/libstdc++-v3/testsuite/20_util/monotonic_buffer_resource/deallocate.cc index 427256d672a..db835935079 100644 --- a/libstdc++-v3/testsuite/20_util/monotonic_buffer_resource/deallocate.cc +++ b/libstdc++-v3/testsuite/20_util/monotonic_buffer_resource/deallocate.cc @@ -17,6 +17,7 @@ // { dg-options "-std=gnu++17" } // { dg-do run { target c++17 } } +// { dg-require-cstdint "" } #include #include diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc index 60eb4d48b1d..fea0823555b 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc @@ -21,6 +21,7 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++11 } // { dg-require-effective-target pthread } +// { dg-require-cstdint "" } #include #include diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc index c7ff4651366..b2f7aba0ce7 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc @@ -21,6 +21,7 @@ // { dg-options "-pthread" } // { dg-require-effective-target c++11 } // { dg-require-effective-target pthread } +// { dg-require-cstdint "" } #include #include diff --git a/libstdc++-v3/testsuite/23_containers/list/modifiers/insert/25288.cc b/libstdc++-v3/testsuite/23_containers/list/modifiers/insert/25288.cc index c4ea585a22d..3636c684170 100644 --- a/libstdc++-v3/testsuite/23_containers/list/modifiers/insert/25288.cc +++ b/libstdc++-v3/testsuite/23_containers/list/modifiers/insert/25288.cc @@ -1,4 +1,5 @@ // { dg-require-time "" } +// { dg-require-cstdint "" } // Copyright (C) 2005-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/23_containers/set/allocator/move_assign.cc b/libstdc++-v3/testsuite/23_containers/set/allocator/move_assign.cc index 7548c9e0753..0f2694ef850 100644 --- a/libstdc++-v3/testsuite/23_containers/set/allocator/move_assign.cc +++ b/libstdc++-v3/testsuite/23_containers/set/allocator/move_assign.cc @@ -16,6 +16,7 @@ // . // { dg-do run { target c++11 } } +// { dg-require-cstdint "" } #include #include diff --git a/libstdc++-v3/testsuite/25_algorithms/make_heap/complexity.cc b/libstdc++-v3/testsuite/25_algorithms/make_heap/complexity.cc index 069d2d0433d..a0e30c7d6e0 100644 --- a/libstdc++-v3/testsuite/25_algorithms/make_heap/complexity.cc +++ b/libstdc++-v3/testsuite/25_algorithms/make_heap/complexity.cc @@ -16,6 +16,7 @@ // . // { dg-do run { target c++11 } } +// { dg-require-cstdint "" } // { dg-require-effective-target random_device } #include diff --git a/libstdc++-v3/testsuite/25_algorithms/pop_heap/complexity.cc b/libstdc++-v3/testsuite/25_algorithms/pop_heap/complexity.cc index 62f9f756c63..240293654d1 100644 --- a/libstdc++-v3/testsuite/25_algorithms/pop_heap/complexity.cc +++ b/libstdc++-v3/testsuite/25_algorithms/pop_heap/complexity.cc @@ -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 #include diff --git a/libstdc++-v3/testsuite/25_algorithms/push_heap/complexity.cc b/libstdc++-v3/testsuite/25_algorithms/push_heap/complexity.cc index e5fd09e8cdf..cb226eaa596 100644 --- a/libstdc++-v3/testsuite/25_algorithms/push_heap/complexity.cc +++ b/libstdc++-v3/testsuite/25_algorithms/push_heap/complexity.cc @@ -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 #include diff --git a/libstdc++-v3/testsuite/25_algorithms/sample/1.cc b/libstdc++-v3/testsuite/25_algorithms/sample/1.cc index 154e3619451..98bab7950c9 100644 --- a/libstdc++-v3/testsuite/25_algorithms/sample/1.cc +++ b/libstdc++-v3/testsuite/25_algorithms/sample/1.cc @@ -17,6 +17,7 @@ // { dg-options "-std=gnu++17" } // { dg-do run { target c++17 } } +// { dg-require-cstdint "" } #include #include diff --git a/libstdc++-v3/testsuite/25_algorithms/sample/2.cc b/libstdc++-v3/testsuite/25_algorithms/sample/2.cc index bfdcce1e587..2cc715a34c2 100644 --- a/libstdc++-v3/testsuite/25_algorithms/sample/2.cc +++ b/libstdc++-v3/testsuite/25_algorithms/sample/2.cc @@ -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 diff --git a/libstdc++-v3/testsuite/25_algorithms/sort_heap/complexity.cc b/libstdc++-v3/testsuite/25_algorithms/sort_heap/complexity.cc index acf39ba1381..b3ef55ef323 100644 --- a/libstdc++-v3/testsuite/25_algorithms/sort_heap/complexity.cc +++ b/libstdc++-v3/testsuite/25_algorithms/sort_heap/complexity.cc @@ -17,6 +17,8 @@ // { dg-do run { target c++11 } } // { dg-require-cmath "" } +// { dg-require-cstdint "" } +// { dg-require-effective-target random_device } #include #include diff --git a/libstdc++-v3/testsuite/26_numerics/headers/random/types_std_c++0x.cc b/libstdc++-v3/testsuite/26_numerics/headers/random/types_std_c++0x.cc index bfb6054c584..176f818ef80 100644 --- a/libstdc++-v3/testsuite/26_numerics/headers/random/types_std_c++0x.cc +++ b/libstdc++-v3/testsuite/26_numerics/headers/random/types_std_c++0x.cc @@ -1,4 +1,5 @@ // { dg-do compile { target c++11 } } +// { dg-require-cstdint "" } // Copyright (C) 2007-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/83833.cc b/libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/83833.cc index 821a1a40e2a..1f2849b89a9 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/83833.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/chi_squared_distribution/83833.cc @@ -17,6 +17,7 @@ // { dg-do run { target c++11 } } // { dg-additional-options "-ffloat-store" { target { m68*-*-* || ia32 } } } +// { dg-require-cstdint "" } #include #include diff --git a/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/requirements/constexpr_data.cc b/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/requirements/constexpr_data.cc index 67ac8bc8973..7cc9169e49d 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/requirements/constexpr_data.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/requirements/constexpr_data.cc @@ -1,4 +1,5 @@ // { dg-do compile { target c++11 } } +// { dg-require-cstdint "" } // Copyright (C) 2010-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/requirements/constexpr_functions.cc b/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/requirements/constexpr_functions.cc index f19df5f91ec..1d7876f05d9 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/requirements/constexpr_functions.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/discard_block_engine/requirements/constexpr_functions.cc @@ -1,4 +1,5 @@ // { dg-do compile { target c++11 } } +// { dg-require-cstdint "" } // Copyright (C) 2010-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/requirements/constexpr_functions.cc b/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/requirements/constexpr_functions.cc index e0ed847655e..479927269c2 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/requirements/constexpr_functions.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/independent_bits_engine/requirements/constexpr_functions.cc @@ -1,4 +1,5 @@ // { dg-do compile { target c++11 } } +// { dg-require-cstdint "" } // Copyright (C) 2010-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/requirements/constexpr_data.cc b/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/requirements/constexpr_data.cc index b6e2bfd95d6..4afb406640e 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/requirements/constexpr_data.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/requirements/constexpr_data.cc @@ -1,4 +1,5 @@ // { dg-do compile { target c++11 } } +// { dg-require-cstdint "" } // Copyright (C) 2010-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/requirements/constexpr_functions.cc b/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/requirements/constexpr_functions.cc index 7dfdb800a73..99a60b4b4cd 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/requirements/constexpr_functions.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/requirements/constexpr_functions.cc @@ -1,4 +1,5 @@ // { dg-do compile { target c++11 } } +// { dg-require-cstdint "" } // Copyright (C) 2010-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/requirements/constexpr_data.cc b/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/requirements/constexpr_data.cc index d391d0c3967..19105af3b7e 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/requirements/constexpr_data.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/requirements/constexpr_data.cc @@ -1,4 +1,5 @@ // { dg-do compile { target c++11 } } +// { dg-require-cstdint "" } // Copyright (C) 2010-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/requirements/constexpr_functions.cc b/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/requirements/constexpr_functions.cc index 1785297b5c2..768c1ac2851 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/requirements/constexpr_functions.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/mersenne_twister_engine/requirements/constexpr_functions.cc @@ -1,4 +1,5 @@ // { dg-do compile { target c++11 } } +// { dg-require-cstdint "" } // Copyright (C) 2010-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/random/pr60037-neg.cc b/libstdc++-v3/testsuite/26_numerics/random/pr60037-neg.cc index 1ead99cffc4..f365337e789 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/pr60037-neg.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/pr60037-neg.cc @@ -1,4 +1,5 @@ // { dg-do compile { target c++11 } } +// { dg-require-cstdint "" } #include diff --git a/libstdc++-v3/testsuite/26_numerics/random/seed_seq/cons/65631.cc b/libstdc++-v3/testsuite/26_numerics/random/seed_seq/cons/65631.cc index 23d0207be23..75db6303aea 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/seed_seq/cons/65631.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/seed_seq/cons/65631.cc @@ -16,6 +16,7 @@ // . // { dg-do compile { target c++11 } } +// { dg-require-cstdint "" } #include #include diff --git a/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/requirements/constexpr_data.cc b/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/requirements/constexpr_data.cc index ac59a748c9b..0ad481519c9 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/requirements/constexpr_data.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/requirements/constexpr_data.cc @@ -1,4 +1,5 @@ // { dg-do compile { target c++11 } } +// { dg-require-cstdint "" } // Copyright (C) 2010-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/requirements/constexpr_functions.cc b/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/requirements/constexpr_functions.cc index 078137b2fdc..c6081f87321 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/requirements/constexpr_functions.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/shuffle_order_engine/requirements/constexpr_functions.cc @@ -1,4 +1,5 @@ // { dg-do compile { target c++11 } } +// { dg-require-cstdint "" } // Copyright (C) 2010-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/requirements/constexpr_data.cc b/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/requirements/constexpr_data.cc index 2f990d2bb00..0e8d0037a63 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/requirements/constexpr_data.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/requirements/constexpr_data.cc @@ -1,4 +1,5 @@ // { dg-do compile { target c++11 } } +// { dg-require-cstdint "" } // Copyright (C) 2010-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/requirements/constexpr_functions.cc b/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/requirements/constexpr_functions.cc index 982f824d08a..92d00ac5edf 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/requirements/constexpr_functions.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/requirements/constexpr_functions.cc @@ -1,4 +1,5 @@ // { dg-do compile { target c++11 } } +// { dg-require-cstdint "" } // Copyright (C) 2010-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/operators/64351.cc b/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/operators/64351.cc index 11c1b9e032e..4420e12b440 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/operators/64351.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/uniform_real_distribution/operators/64351.cc @@ -16,6 +16,7 @@ // . // { dg-do run { target { c++11 && { ! simulator } } } } +// { dg-require-cstdint "" } #include #include diff --git a/libstdc++-v3/testsuite/29_atomics/headers/atomic/types_std_c++0x.cc b/libstdc++-v3/testsuite/29_atomics/headers/atomic/types_std_c++0x.cc index 7b10159ee9f..58c19d69968 100644 --- a/libstdc++-v3/testsuite/29_atomics/headers/atomic/types_std_c++0x.cc +++ b/libstdc++-v3/testsuite/29_atomics/headers/atomic/types_std_c++0x.cc @@ -1,4 +1,5 @@ // { dg-do compile { target c++11 } } +// { dg-require-cstdint "" } // Copyright (C) 2008-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/algorithm/sample-2.cc b/libstdc++-v3/testsuite/experimental/algorithm/sample-2.cc index ef3f7daa14c..a7e311e84f9 100644 --- a/libstdc++-v3/testsuite/experimental/algorithm/sample-2.cc +++ b/libstdc++-v3/testsuite/experimental/algorithm/sample-2.cc @@ -16,6 +16,7 @@ // . // { 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 } diff --git a/libstdc++-v3/testsuite/experimental/algorithm/sample.cc b/libstdc++-v3/testsuite/experimental/algorithm/sample.cc index b2373706f04..0b9a3a4bf89 100644 --- a/libstdc++-v3/testsuite/experimental/algorithm/sample.cc +++ b/libstdc++-v3/testsuite/experimental/algorithm/sample.cc @@ -16,6 +16,7 @@ // . // { dg-do run { target c++14 } } +// { dg-require-cstdint "" } #include #include diff --git a/libstdc++-v3/testsuite/experimental/algorithm/search.cc b/libstdc++-v3/testsuite/experimental/algorithm/search.cc index 10aecd534a6..4e64bcd53de 100644 --- a/libstdc++-v3/testsuite/experimental/algorithm/search.cc +++ b/libstdc++-v3/testsuite/experimental/algorithm/search.cc @@ -16,6 +16,7 @@ // . // { dg-do run { target c++14 } } +// { dg-require-cstdint "" } #include #include diff --git a/libstdc++-v3/testsuite/experimental/algorithm/shuffle.cc b/libstdc++-v3/testsuite/experimental/algorithm/shuffle.cc index db958f600d4..a074255d19a 100644 --- a/libstdc++-v3/testsuite/experimental/algorithm/shuffle.cc +++ b/libstdc++-v3/testsuite/experimental/algorithm/shuffle.cc @@ -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 } diff --git a/libstdc++-v3/testsuite/experimental/any/cons/aligned.cc b/libstdc++-v3/testsuite/experimental/any/cons/aligned.cc index 80aeefa7ee8..f761be9e6b9 100644 --- a/libstdc++-v3/testsuite/experimental/any/cons/aligned.cc +++ b/libstdc++-v3/testsuite/experimental/any/cons/aligned.cc @@ -16,6 +16,7 @@ // . // { dg-do run { target c++14 } } +// { dg-require-cstdint "" } #include #include diff --git a/libstdc++-v3/testsuite/experimental/memory_resource/new_delete_resource.cc b/libstdc++-v3/testsuite/experimental/memory_resource/new_delete_resource.cc index 4c6d894829d..11667b1d138 100644 --- a/libstdc++-v3/testsuite/experimental/memory_resource/new_delete_resource.cc +++ b/libstdc++-v3/testsuite/experimental/memory_resource/new_delete_resource.cc @@ -16,6 +16,7 @@ // . // { dg-do run { target c++14 } } +// { dg-require-cstdint "" } // { dg-xfail-run-if "PR libstdc++/77691" { { i?86-*-solaris2.* x86_64-*-solaris2.* } && ilp32 } } #include diff --git a/libstdc++-v3/testsuite/experimental/memory_resource/resource_adaptor.cc b/libstdc++-v3/testsuite/experimental/memory_resource/resource_adaptor.cc index 46cb113da7b..53c176a2870 100644 --- a/libstdc++-v3/testsuite/experimental/memory_resource/resource_adaptor.cc +++ b/libstdc++-v3/testsuite/experimental/memory_resource/resource_adaptor.cc @@ -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. diff --git a/libstdc++-v3/testsuite/experimental/random/randint.cc b/libstdc++-v3/testsuite/experimental/random/randint.cc index 90ba72ac2fc..54ad371f38a 100644 --- a/libstdc++-v3/testsuite/experimental/random/randint.cc +++ b/libstdc++-v3/testsuite/experimental/random/randint.cc @@ -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 } diff --git a/libstdc++-v3/testsuite/experimental/source_location/1.cc b/libstdc++-v3/testsuite/experimental/source_location/1.cc index a57669c3117..8bc62ddc6b2 100644 --- a/libstdc++-v3/testsuite/experimental/source_location/1.cc +++ b/libstdc++-v3/testsuite/experimental/source_location/1.cc @@ -16,6 +16,7 @@ // . // { dg-do run { target c++14 } } +// { dg-require-cstdint "" } #include #include @@ -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 ); diff --git a/libstdc++-v3/testsuite/ext/bitmap_allocator/overaligned.cc b/libstdc++-v3/testsuite/ext/bitmap_allocator/overaligned.cc index 45a4e6f6cf8..faa9cd53907 100644 --- a/libstdc++-v3/testsuite/ext/bitmap_allocator/overaligned.cc +++ b/libstdc++-v3/testsuite/ext/bitmap_allocator/overaligned.cc @@ -17,6 +17,7 @@ // { dg-options "-faligned-new" } // { dg-do run { target c++11 } } +// { dg-require-cstdint "" } #include #include diff --git a/libstdc++-v3/testsuite/ext/malloc_allocator/overaligned.cc b/libstdc++-v3/testsuite/ext/malloc_allocator/overaligned.cc index 3a86c57b8a7..701c9ae87c1 100644 --- a/libstdc++-v3/testsuite/ext/malloc_allocator/overaligned.cc +++ b/libstdc++-v3/testsuite/ext/malloc_allocator/overaligned.cc @@ -17,6 +17,7 @@ // { dg-options "-faligned-new" } // { dg-do run { target c++11 } } +// { dg-require-cstdint "" } #include #include diff --git a/libstdc++-v3/testsuite/ext/mt_allocator/overaligned.cc b/libstdc++-v3/testsuite/ext/mt_allocator/overaligned.cc index 6d1eb1bacd2..468bf390452 100644 --- a/libstdc++-v3/testsuite/ext/mt_allocator/overaligned.cc +++ b/libstdc++-v3/testsuite/ext/mt_allocator/overaligned.cc @@ -17,6 +17,7 @@ // { dg-options "-faligned-new" } // { dg-do run { target c++11 } } +// { dg-require-cstdint "" } #include #include diff --git a/libstdc++-v3/testsuite/ext/new_allocator/overaligned.cc b/libstdc++-v3/testsuite/ext/new_allocator/overaligned.cc index 4bf8abb7cf9..896cc016ad2 100644 --- a/libstdc++-v3/testsuite/ext/new_allocator/overaligned.cc +++ b/libstdc++-v3/testsuite/ext/new_allocator/overaligned.cc @@ -17,6 +17,7 @@ // { dg-options "-faligned-new" } // { dg-do run { target c++11 } } +// { dg-require-cstdint "" } #include #include diff --git a/libstdc++-v3/testsuite/ext/pb_ds/regression/hash_map_rand.cc b/libstdc++-v3/testsuite/ext/pb_ds/regression/hash_map_rand.cc index 9a6cbb68d6b..d2e687f404d 100644 --- a/libstdc++-v3/testsuite/ext/pb_ds/regression/hash_map_rand.cc +++ b/libstdc++-v3/testsuite/ext/pb_ds/regression/hash_map_rand.cc @@ -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 } diff --git a/libstdc++-v3/testsuite/ext/pb_ds/regression/hash_set_rand.cc b/libstdc++-v3/testsuite/ext/pb_ds/regression/hash_set_rand.cc index ccde2cdb3c2..58aac1ff5cd 100644 --- a/libstdc++-v3/testsuite/ext/pb_ds/regression/hash_set_rand.cc +++ b/libstdc++-v3/testsuite/ext/pb_ds/regression/hash_set_rand.cc @@ -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 } diff --git a/libstdc++-v3/testsuite/ext/pb_ds/regression/list_update_map_rand.cc b/libstdc++-v3/testsuite/ext/pb_ds/regression/list_update_map_rand.cc index c786cb35d51..c68a2b2d0b8 100644 --- a/libstdc++-v3/testsuite/ext/pb_ds/regression/list_update_map_rand.cc +++ b/libstdc++-v3/testsuite/ext/pb_ds/regression/list_update_map_rand.cc @@ -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++ -*- diff --git a/libstdc++-v3/testsuite/ext/pb_ds/regression/list_update_set_rand.cc b/libstdc++-v3/testsuite/ext/pb_ds/regression/list_update_set_rand.cc index a211ae73648..bc216100eb1 100644 --- a/libstdc++-v3/testsuite/ext/pb_ds/regression/list_update_set_rand.cc +++ b/libstdc++-v3/testsuite/ext/pb_ds/regression/list_update_set_rand.cc @@ -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++ -*- diff --git a/libstdc++-v3/testsuite/ext/pb_ds/regression/priority_queue_rand.cc b/libstdc++-v3/testsuite/ext/pb_ds/regression/priority_queue_rand.cc index 911c1d5284e..fd77e9b7e75 100644 --- a/libstdc++-v3/testsuite/ext/pb_ds/regression/priority_queue_rand.cc +++ b/libstdc++-v3/testsuite/ext/pb_ds/regression/priority_queue_rand.cc @@ -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 } diff --git a/libstdc++-v3/testsuite/ext/pb_ds/regression/tree_map_rand.cc b/libstdc++-v3/testsuite/ext/pb_ds/regression/tree_map_rand.cc index 8513d743838..34dbcf51a17 100644 --- a/libstdc++-v3/testsuite/ext/pb_ds/regression/tree_map_rand.cc +++ b/libstdc++-v3/testsuite/ext/pb_ds/regression/tree_map_rand.cc @@ -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 } diff --git a/libstdc++-v3/testsuite/ext/pb_ds/regression/tree_set_rand.cc b/libstdc++-v3/testsuite/ext/pb_ds/regression/tree_set_rand.cc index 0f3163f5fd2..9d6283acf81 100644 --- a/libstdc++-v3/testsuite/ext/pb_ds/regression/tree_set_rand.cc +++ b/libstdc++-v3/testsuite/ext/pb_ds/regression/tree_set_rand.cc @@ -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 } diff --git a/libstdc++-v3/testsuite/ext/pb_ds/regression/trie_map_rand.cc b/libstdc++-v3/testsuite/ext/pb_ds/regression/trie_map_rand.cc index bb0722f7ae9..3441aa395b3 100644 --- a/libstdc++-v3/testsuite/ext/pb_ds/regression/trie_map_rand.cc +++ b/libstdc++-v3/testsuite/ext/pb_ds/regression/trie_map_rand.cc @@ -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 } diff --git a/libstdc++-v3/testsuite/ext/pb_ds/regression/trie_set_rand.cc b/libstdc++-v3/testsuite/ext/pb_ds/regression/trie_set_rand.cc index e8100a3dc2e..4962f4c1a68 100644 --- a/libstdc++-v3/testsuite/ext/pb_ds/regression/trie_set_rand.cc +++ b/libstdc++-v3/testsuite/ext/pb_ds/regression/trie_set_rand.cc @@ -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 } diff --git a/libstdc++-v3/testsuite/ext/pool_allocator/overaligned.cc b/libstdc++-v3/testsuite/ext/pool_allocator/overaligned.cc index 856d3d7612c..520d9a8c199 100644 --- a/libstdc++-v3/testsuite/ext/pool_allocator/overaligned.cc +++ b/libstdc++-v3/testsuite/ext/pool_allocator/overaligned.cc @@ -17,6 +17,7 @@ // { dg-options "-faligned-new" } // { dg-do run { target c++11 } } +// { dg-require-cstdint "" } #include #include diff --git a/libstdc++-v3/testsuite/ext/throw_allocator/check_allocate_max_size.cc b/libstdc++-v3/testsuite/ext/throw_allocator/check_allocate_max_size.cc index e94691657ec..75925d6ca7c 100644 --- a/libstdc++-v3/testsuite/ext/throw_allocator/check_allocate_max_size.cc +++ b/libstdc++-v3/testsuite/ext/throw_allocator/check_allocate_max_size.cc @@ -17,6 +17,7 @@ // . // { dg-require-time "" } +// { dg-require-cstdint "" } #include #include diff --git a/libstdc++-v3/testsuite/ext/throw_allocator/check_deallocate_null.cc b/libstdc++-v3/testsuite/ext/throw_allocator/check_deallocate_null.cc index 5bcf7cf4b48..cc12a52156c 100644 --- a/libstdc++-v3/testsuite/ext/throw_allocator/check_deallocate_null.cc +++ b/libstdc++-v3/testsuite/ext/throw_allocator/check_deallocate_null.cc @@ -17,6 +17,7 @@ // . // { dg-require-time "" } +// { dg-require-cstdint "" } #include #include diff --git a/libstdc++-v3/testsuite/ext/throw_allocator/check_delete.cc b/libstdc++-v3/testsuite/ext/throw_allocator/check_delete.cc index eec1596894a..b70a9566aed 100644 --- a/libstdc++-v3/testsuite/ext/throw_allocator/check_delete.cc +++ b/libstdc++-v3/testsuite/ext/throw_allocator/check_delete.cc @@ -17,6 +17,7 @@ // . // { dg-require-time "" } +// { dg-require-cstdint "" } #include #include diff --git a/libstdc++-v3/testsuite/ext/throw_allocator/check_new.cc b/libstdc++-v3/testsuite/ext/throw_allocator/check_new.cc index 68fc7bfdd24..1f8b634cd8a 100644 --- a/libstdc++-v3/testsuite/ext/throw_allocator/check_new.cc +++ b/libstdc++-v3/testsuite/ext/throw_allocator/check_new.cc @@ -17,6 +17,7 @@ // . // { dg-require-time "" } +// { dg-require-cstdint "" } #include #include diff --git a/libstdc++-v3/testsuite/ext/throw_allocator/deallocate_global.cc b/libstdc++-v3/testsuite/ext/throw_allocator/deallocate_global.cc index 8d5dda068f3..38f417cca1e 100644 --- a/libstdc++-v3/testsuite/ext/throw_allocator/deallocate_global.cc +++ b/libstdc++-v3/testsuite/ext/throw_allocator/deallocate_global.cc @@ -19,6 +19,7 @@ // . // { dg-require-time "" } +// { dg-require-cstdint "" } #include #include diff --git a/libstdc++-v3/testsuite/ext/throw_allocator/deallocate_local.cc b/libstdc++-v3/testsuite/ext/throw_allocator/deallocate_local.cc index 47871b85b38..58ee6d9d9d1 100644 --- a/libstdc++-v3/testsuite/ext/throw_allocator/deallocate_local.cc +++ b/libstdc++-v3/testsuite/ext/throw_allocator/deallocate_local.cc @@ -17,6 +17,7 @@ // . // { dg-require-time "" } +// { dg-require-cstdint "" } #include #include diff --git a/libstdc++-v3/testsuite/ext/throw_allocator/explicit_instantiation.cc b/libstdc++-v3/testsuite/ext/throw_allocator/explicit_instantiation.cc index bde424d780f..4d64a3a7016 100644 --- a/libstdc++-v3/testsuite/ext/throw_allocator/explicit_instantiation.cc +++ b/libstdc++-v3/testsuite/ext/throw_allocator/explicit_instantiation.cc @@ -1,4 +1,5 @@ // { dg-do compile } +// { dg-require-cstdint "" } // // Copyright (C) 2007-2018 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/ext/throw_allocator/variadic_construct.cc b/libstdc++-v3/testsuite/ext/throw_allocator/variadic_construct.cc index 01a7b32e1b9..4a843a4ce31 100644 --- a/libstdc++-v3/testsuite/ext/throw_allocator/variadic_construct.cc +++ b/libstdc++-v3/testsuite/ext/throw_allocator/variadic_construct.cc @@ -1,4 +1,5 @@ // { dg-do run { target c++11 } } +// { dg-require-cstdint "" } // 2007-10-26 Paolo Carlini diff --git a/libstdc++-v3/testsuite/tr1/8_c_compatibility/cinttypes/functions.cc b/libstdc++-v3/testsuite/tr1/8_c_compatibility/cinttypes/functions.cc index 66eafeb35fc..29286f7cfcc 100644 --- a/libstdc++-v3/testsuite/tr1/8_c_compatibility/cinttypes/functions.cc +++ b/libstdc++-v3/testsuite/tr1/8_c_compatibility/cinttypes/functions.cc @@ -1,4 +1,5 @@ // { dg-do compile } +// { dg-require-cstdint "" } // 2006-01-30 Paolo Carlini //