[libc++] Purge mentions of GCC 4 from the test suite

We don't support GCC 4 and older according to the documentation, so
we should pretend it doesn't exist.

This is a re-application of r372787.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@372916 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Louis Dionne 2019-09-25 19:40:48 +00:00
parent 5265e271ed
commit 172204fa13
25 changed files with 6 additions and 59 deletions

View File

@ -14,7 +14,7 @@
// UNSUPPORTED: c++98, c++03
// GCC 7 is the first version to introduce [[nodiscard]]
// UNSUPPORTED: gcc-4.9, gcc-5, gcc-6
// UNSUPPORTED: gcc-5, gcc-6
// MODULES_DEFINES: _LIBCPP_ENABLE_NODISCARD
#define _LIBCPP_ENABLE_NODISCARD

View File

@ -10,7 +10,7 @@
// UNSUPPORTED: c++98, c++03
// GCC 7 is the first version to introduce [[nodiscard]]
// UNSUPPORTED: gcc-4.9, gcc-5, gcc-6
// UNSUPPORTED: gcc-5, gcc-6
// Test that _LIBCPP_DISABLE_NODISCARD_EXT only disables _LIBCPP_NODISCARD_EXT
// and not _LIBCPP_NODISCARD_AFTER_CXX17.

View File

@ -10,7 +10,7 @@
// UNSUPPORTED: c++98, c++03
// GCC 7 is the first version to introduce [[nodiscard]]
// UNSUPPORTED: gcc-4.9, gcc-5, gcc-6
// UNSUPPORTED: gcc-5, gcc-6
// MODULES_DEFINES: _LIBCPP_ENABLE_NODISCARD

View File

@ -10,7 +10,7 @@
// UNSUPPORTED: c++98, c++03
// GCC versions prior to 7.0 don't provide the required [[nodiscard]] attribute.
// UNSUPPORTED: gcc-4, gcc-5, gcc-6
// UNSUPPORTED: gcc-5, gcc-6
// AppleClang9 doesn't yet support C++17's implicitly synthesized deduction
// guides from existing ctors, needed by default_searcher() below.

View File

@ -6,9 +6,6 @@
//
//===----------------------------------------------------------------------===//
// The test fails due to the missing is_trivially_constructible intrinsic.
// XFAIL: gcc-4.9
// The test suite needs to define the ABI macros on the command line when
// modules are enabled.
// UNSUPPORTED: -fmodules

View File

@ -6,9 +6,6 @@
//
//===----------------------------------------------------------------------===//
// The test fails due to the missing is_trivially_constructible intrinsic.
// XFAIL: gcc-4.9
// <utility>
// template <class T1, class T2> struct pair

View File

@ -8,9 +8,6 @@
// UNSUPPORTED: c++98, c++03, c++11, c++14
// See GCC PR63723.
// UNSUPPORTED: gcc-4.9
// <experimental/simd>
//
// [simd.class]

View File

@ -8,9 +8,6 @@
// UNSUPPORTED: c++98, c++03, c++11, c++14
// See GCC PR63723.
// UNSUPPORTED: gcc-4.9
// <experimental/simd>
//
// [simd.class]

View File

@ -8,9 +8,6 @@
// <iterator>
// Test fails due to use of is_trivially_* trait.
// XFAIL: gcc-4.9
// template <class T, class charT = char, class traits = char_traits<charT>,
// class Distance = ptrdiff_t>
// class istream_iterator

View File

@ -8,9 +8,6 @@
// <iterator>
// Test fails due to use of is_trivially_* trait.
// XFAIL: gcc-4.9
// template<class charT, class traits = char_traits<charT> >
// class istreambuf_iterator
// : public iterator<input_iterator_tag, charT,

View File

@ -15,10 +15,6 @@
// (except clang-3.6 which temporarily enabled sized-deallocation)
// UNSUPPORTED: clang, apple-clang
// NOTE: GCC 4.9.1 does not support sized-deallocation in C++14. However
// GCC 5.1 does.
// XFAIL: gcc-4.7, gcc-4.8, gcc-4.9
#include <new>
#include <cstddef>
#include <cstdlib>

View File

@ -15,10 +15,6 @@
// (except clang-3.6 which temporarily enabled sized-deallocation)
// UNSUPPORTED: clang, apple-clang
// NOTE: GCC 4.9.1 does not support sized-deallocation in C++14. However
// GCC 5.1 does.
// XFAIL: gcc-4.7, gcc-4.8, gcc-4.9
#include <new>
#include <cstddef>
#include <cstdlib>

View File

@ -13,9 +13,6 @@
// Test that reference wrapper meets the requirements of CopyConstructible and
// CopyAssignable, and TriviallyCopyable (starting in C++14).
// Test fails due to use of is_trivially_* trait.
// XFAIL: gcc-4.9 && c++14
#include <functional>
#include <type_traits>
#include <string>

View File

@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++98, c++03, c++11, c++14
// XFAIL: gcc-4, gcc-5, gcc-6
// XFAIL: gcc-5, gcc-6
// <memory>

View File

@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++98, c++03, c++11, c++14
// UNSUPPORTED: clang-3, clang-4, clang-5, apple-clang, gcc-4, gcc-5, gcc-6
// UNSUPPORTED: clang-3, clang-4, clang-5, apple-clang, gcc-5, gcc-6
// type_traits

View File

@ -10,8 +10,6 @@
// is_trivially_assignable
// XFAIL: gcc-4.9
#include <type_traits>
#include "test_macros.h"

View File

@ -10,8 +10,6 @@
// is_trivially_copy_assignable
// XFAIL: gcc-4.9
#include <type_traits>
#include "test_macros.h"

View File

@ -10,8 +10,6 @@
// is_trivially_copy_constructible
// XFAIL: gcc-4.9
#include <type_traits>
#include "test_macros.h"

View File

@ -10,8 +10,6 @@
// is_trivially_move_assignable
// XFAIL: gcc-4.9
#include <type_traits>
#include "test_macros.h"

View File

@ -10,8 +10,6 @@
// is_trivially_move_constructible
// XFAIL: gcc-4.9
#include <type_traits>
#include "test_macros.h"

View File

@ -14,7 +14,6 @@
// struct tuple_size<tuple<Types...>>
// : public integral_constant<size_t, sizeof...(Types)> { };
// XFAIL: gcc-4.9
// UNSUPPORTED: c++98, c++03
#include <tuple>

View File

@ -14,7 +14,6 @@
// class tuple_size<tuple<Types...>>
// : public integral_constant<size_t, sizeof...(Types)> { };
// XFAIL: gcc-4.9
// UNSUPPORTED: c++98, c++03
#include <tuple>

View File

@ -12,11 +12,6 @@
// constexpr pair();
// This test doesn't pass due to a constexpr bug in GCC 4.9 that fails
// to initialize any type without a user provided constructor in a constant
// expression (e.g. float).
// XFAIL: gcc-4.9
// NOTE: The SFINAE on the default constructor is tested in
// default-sfinae.pass.cpp

View File

@ -13,9 +13,6 @@
// pair(pair const&) = default;
// pair(pair&&) = default;
// Doesn't pass due to use of is_trivially_* trait.
// XFAIL: gcc-4.9
#include <utility>
#include <cassert>

View File

@ -8,10 +8,6 @@
// UNSUPPORTED: c++98, c++03
// This workaround option is specific to MSVC's C1XX, so we don't care that
// it isn't set for older GCC versions.
// XFAIL: gcc-4.9
// Verify TEST_WORKAROUND_C1XX_BROKEN_IS_TRIVIALLY_COPYABLE.
#include <type_traits>