[libc++] Mark a few more tests as unsupported on gcc-8/9.

This will fix remaining failures on gcc-9 buildbot: http://lab.llvm.org:8011/#/builders/101.
gcc-8 and gcc-9 do not support constexpr destructors nor constexpr allocation.

Fix gcc warnings: -Wconversion, -Wpragmas.
This commit is contained in:
Marek Kurdej 2020-11-26 12:40:50 +01:00
parent 4bee3197f6
commit 5641b1dfdd
11 changed files with 17 additions and 2 deletions

View File

@ -6,6 +6,8 @@
//
//===----------------------------------------------------------------------===//
// UNSUPPORTED: gcc-8, gcc-9
// <memory>
// template <class Alloc>

View File

@ -7,6 +7,7 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: clang-8
// UNSUPPORTED: gcc-8, gcc-9
// <memory>

View File

@ -7,6 +7,7 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: clang-8
// UNSUPPORTED: gcc-8, gcc-9
// <memory>

View File

@ -6,6 +6,8 @@
//
//===----------------------------------------------------------------------===//
// UNSUPPORTED: gcc-8, gcc-9
// <memory>
// template <class Alloc>

View File

@ -7,6 +7,8 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: clang-8
// constexpr destructors are only supported starting with gcc 10
// UNSUPPORTED: gcc-8, gcc-9
// <memory>

View File

@ -7,6 +7,7 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: clang-8
// UNSUPPORTED: gcc-8, gcc-9
// <memory>

View File

@ -9,6 +9,8 @@
// UNSUPPORTED: c++03, c++11, c++14
// constexpr destructors are only supported starting with clang 10
// UNSUPPORTED: clang-5, clang-6, clang-7, clang-8, clang-9
// constexpr destructors are only supported starting with gcc 10
// UNSUPPORTED: gcc-8, gcc-9
// <memory>

View File

@ -9,6 +9,8 @@
// UNSUPPORTED: c++03, c++11, c++14
// constexpr destructors are only supported starting with clang 10
// UNSUPPORTED: clang-5, clang-6, clang-7, clang-8, clang-9
// constexpr destructors are only supported starting with gcc 10
// UNSUPPORTED: gcc-8, gcc-9
// <memory>

View File

@ -9,6 +9,8 @@
// UNSUPPORTED: c++03, c++11, c++14
// constexpr destructors are only supported starting with clang 10
// UNSUPPORTED: clang-5, clang-6, clang-7, clang-8, clang-9
// constexpr destructors are only supported starting with gcc 10
// UNSUPPORTED: gcc-8, gcc-9
// <memory>

View File

@ -19,7 +19,7 @@
// Ignore warnings about volatile in parameters being deprecated.
// We know it is, but we still have to test it.
#if defined(__GNUC__) && !defined(__clang__)
#if defined(__GNUC__) && (__GNUC__ >= 10) && !defined(__clang__)
# pragma GCC diagnostic ignored "-Wvolatile"
#endif

View File

@ -52,7 +52,7 @@ class OutputStream {
char *TempPtr = std::end(Temp);
while (N) {
*--TempPtr = '0' + char(N % 10);
*--TempPtr = char('0' + N % 10);
N /= 10;
}