forked from OSchip/llvm-project
[libc++][CI] Updates GCC to version 12.
Reviewed By: ldionne, philnik, #libc, #libc_abi Differential Revision: https://reviews.llvm.org/D126667
This commit is contained in:
parent
c584771f54
commit
eb12ad9d7f
|
@ -107,7 +107,7 @@ Compiler Versions Restrictions Support policy
|
|||
Clang 13, 14 latest two stable releases per `LLVM's release page <https://releases.llvm.org>`_
|
||||
AppleClang 13 latest stable release per `Xcode's release page <https://developer.apple.com/documentation/xcode-release-notes>`_
|
||||
Open XL 17.1 (AIX) latest stable release per `Open XL's documentation page <https://www.ibm.com/docs/en/openxl-c-and-cpp-aix>`_
|
||||
GCC 11 In C++11 or later only latest stable release per `GCC's release page <https://gcc.gnu.org/releases.html>`_
|
||||
GCC 12 In C++11 or later only latest stable release per `GCC's release page <https://gcc.gnu.org/releases.html>`_
|
||||
============ =============== ========================== =====================
|
||||
|
||||
Libc++ also supports common platforms and architectures:
|
||||
|
|
|
@ -14,8 +14,8 @@
|
|||
// TODO: Investigate this failure, which happens only with the Bootstrapping build.
|
||||
// UNSUPPORTED: clang-13, clang-14, clang-15
|
||||
|
||||
// TODO: Investigate this failure on GCC 11.2 (in Ubuntu Jammy)
|
||||
// UNSUPPORTED: gcc-11.2
|
||||
// TODO: Investigate this failure on GCC 12 (in Ubuntu Jammy)
|
||||
// UNSUPPORTED: gcc-12
|
||||
|
||||
// RUN: %{cxx} %{flags} %s -o %t.exe %{compile_flags} -g %{link_flags}
|
||||
// Ensure locale-independence for unicode tests.
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: gcc-11
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-ranges
|
||||
|
||||
// Tests that <value_> is a <copyable-box>.
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-format
|
||||
// TODO FMT Evaluate gcc-11 status
|
||||
// UNSUPPORTED: gcc-11
|
||||
|
||||
// <format>
|
||||
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-format
|
||||
// TODO FMT Evaluate gcc-11 status
|
||||
// UNSUPPORTED: gcc-11
|
||||
|
||||
// <format>
|
||||
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-format
|
||||
// TODO FMT Evaluate gcc-11 status
|
||||
// UNSUPPORTED: gcc-11
|
||||
// TODO FMT __builtin_memcpy isn't constexpr in GCC
|
||||
// UNSUPPORTED: gcc-12
|
||||
|
||||
// <format>
|
||||
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-format
|
||||
// TODO FMT Evaluate gcc-11 status
|
||||
// UNSUPPORTED: gcc-11
|
||||
// TODO FMT Evaluate gcc-12 status
|
||||
// UNSUPPORTED: gcc-12
|
||||
|
||||
// <format>
|
||||
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-format
|
||||
// TODO FMT Evaluate gcc-11 status
|
||||
// UNSUPPORTED: gcc-11
|
||||
|
||||
// <format>
|
||||
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-format
|
||||
// TODO FMT Evaluate gcc-11 status
|
||||
// UNSUPPORTED: gcc-11
|
||||
|
||||
// <format>
|
||||
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-format
|
||||
// TODO FMT Evaluate gcc-11 status
|
||||
// UNSUPPORTED: gcc-11
|
||||
|
||||
// <format>
|
||||
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-format
|
||||
// TODO FMT Evaluate gcc-11 status
|
||||
// UNSUPPORTED: gcc-11
|
||||
|
||||
// <format>
|
||||
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: no-localization
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-format
|
||||
// TODO FMT Evaluate gcc-11 status
|
||||
// UNSUPPORTED: gcc-11
|
||||
// TODO FMT Evaluate gcc-12 status
|
||||
// UNSUPPORTED:gcc-12
|
||||
// TODO FMT Investigate AppleClang ICE
|
||||
// UNSUPPORTED: apple-clang-13
|
||||
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-format
|
||||
// TODO FMT Evaluate gcc-11 status
|
||||
// UNSUPPORTED: gcc-11
|
||||
// TODO FMT Evaluate gcc-12 status
|
||||
// UNSUPPORTED: gcc-12
|
||||
// TODO FMT Investigate AppleClang ICE
|
||||
// UNSUPPORTED: apple-clang-13
|
||||
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: no-localization
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-format
|
||||
// TODO FMT Evaluate gcc-11 status
|
||||
// UNSUPPORTED: gcc-11
|
||||
// TODO FMT Evaluate gcc-12 status
|
||||
// UNSUPPORTED: gcc-12
|
||||
// TODO FMT Investigate AppleClang ICE
|
||||
// UNSUPPORTED: apple-clang-13
|
||||
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-format
|
||||
// TODO FMT Evaluate gcc-11 status
|
||||
// UNSUPPORTED: gcc-11
|
||||
// TODO FMT Evaluate gcc-12 status
|
||||
// UNSUPPORTED: gcc-12
|
||||
// TODO FMT Investigate AppleClang ICE
|
||||
// UNSUPPORTED: apple-clang-13
|
||||
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: no-localization
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-format
|
||||
// TODO FMT Evaluate gcc-11 status
|
||||
// UNSUPPORTED: gcc-11
|
||||
// TODO FMT Evaluate gcc-12 status
|
||||
// UNSUPPORTED: gcc-12
|
||||
// TODO FMT Investigate AppleClang ICE
|
||||
// UNSUPPORTED: apple-clang-13
|
||||
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-format
|
||||
// TODO FMT Evaluate gcc-11 status
|
||||
// UNSUPPORTED: gcc-11
|
||||
// TODO FMT Evaluate gcc-12 status
|
||||
// UNSUPPORTED: gcc-12
|
||||
// TODO FMT Investigate AppleClang ICE
|
||||
// UNSUPPORTED: apple-clang-13
|
||||
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: no-localization
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-format
|
||||
// TODO FMT Evaluate gcc-11 status
|
||||
// UNSUPPORTED: gcc-11
|
||||
// TODO FMT Evaluate gcc-12 status
|
||||
// UNSUPPORTED: gcc-12
|
||||
// TODO FMT Investigate AppleClang ICE
|
||||
// UNSUPPORTED: apple-clang-13
|
||||
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-format
|
||||
// TODO FMT Evaluate gcc-11 status
|
||||
// UNSUPPORTED: gcc-11
|
||||
// TODO FMT Evaluate gcc-12 status
|
||||
// UNSUPPORTED: gcc-12
|
||||
// TODO FMT Investigate AppleClang ICE
|
||||
// UNSUPPORTED: apple-clang-13
|
||||
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
// UNSUPPORTED: no-localization
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-format
|
||||
|
||||
// TODO FMT Evaluate gcc-11 status
|
||||
// UNSUPPORTED: gcc-11
|
||||
// TODO FMT Evaluate gcc-12 status
|
||||
// UNSUPPORTED: gcc-12
|
||||
|
||||
// REQUIRES: locale.en_US.UTF-8
|
||||
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: no-localization
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-format
|
||||
// TODO FMT Evaluate gcc-11 status
|
||||
// UNSUPPORTED: gcc-11
|
||||
// TODO FMT Evaluate gcc-12 status
|
||||
// UNSUPPORTED: gcc-12
|
||||
// TODO FMT Investigate AppleClang ICE
|
||||
// UNSUPPORTED: apple-clang-13
|
||||
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-format
|
||||
// TODO FMT Evaluate gcc-11 status
|
||||
// UNSUPPORTED: gcc-11
|
||||
// TODO FMT Evaluate gcc-12 status
|
||||
// UNSUPPORTED: gcc-12
|
||||
// TODO FMT Investigate AppleClang ICE
|
||||
// UNSUPPORTED: apple-clang-13
|
||||
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: no-localization
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-format
|
||||
// TODO FMT Evaluate gcc-11 status
|
||||
// UNSUPPORTED: gcc-11
|
||||
// TODO FMT Evaluate gcc-12 status
|
||||
// UNSUPPORTED: gcc-12
|
||||
// TODO FMT Investigate AppleClang ICE
|
||||
// UNSUPPORTED: apple-clang-13
|
||||
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
// UNSUPPORTED: c++03, c++11, c++14, c++17
|
||||
// UNSUPPORTED: libcpp-has-no-incomplete-format
|
||||
// TODO FMT Evaluate gcc-11 status
|
||||
// UNSUPPORTED: gcc-11
|
||||
// TODO FMT Evaluate gcc-12 status
|
||||
// UNSUPPORTED: gcc-12
|
||||
// TODO FMT Investigate AppleClang ICE
|
||||
// UNSUPPORTED: apple-clang-13
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// This code triggers https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104568
|
||||
// UNSUPPORTED: gcc-11
|
||||
// UNSUPPORTED: msvc
|
||||
|
||||
// Test the fix for https://llvm.org/PR54100
|
||||
|
|
|
@ -8,11 +8,6 @@
|
|||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// GCC's implementation of class template deduction is still immature and runs
|
||||
// into issues with libc++. However GCC accepts this code when compiling
|
||||
// against libstdc++.
|
||||
// XFAIL: gcc-11
|
||||
|
||||
// <tuple>
|
||||
|
||||
// Test that the constructors offered by std::tuple are formulated
|
||||
|
|
|
@ -8,11 +8,6 @@
|
|||
|
||||
// UNSUPPORTED: c++03, c++11, c++14
|
||||
|
||||
// GCC's implementation of class template deduction is still immature and runs
|
||||
// into issues with libc++. However GCC accepts this code when compiling
|
||||
// against libstdc++.
|
||||
// XFAIL: gcc
|
||||
|
||||
// <utility>
|
||||
|
||||
// Test that the constructors offered by std::pair are formulated
|
||||
|
|
|
@ -281,8 +281,8 @@ generic-clang-14)
|
|||
check-abi-list
|
||||
;;
|
||||
generic-gcc)
|
||||
export CC=gcc-11
|
||||
export CXX=g++-11
|
||||
export CC=gcc-12
|
||||
export CXX=g++-12
|
||||
clean
|
||||
generate-cmake -DLIBCXX_ENABLE_WERROR=NO \
|
||||
-DLIBCXXABI_ENABLE_WERROR=NO \
|
||||
|
@ -290,8 +290,8 @@ generic-gcc)
|
|||
check-runtimes
|
||||
;;
|
||||
generic-gcc-cxx11)
|
||||
export CC=gcc-11
|
||||
export CXX=g++-11
|
||||
export CC=gcc-12
|
||||
export CXX=g++-12
|
||||
clean
|
||||
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Generic-cxx11.cmake" \
|
||||
-DLIBCXX_ENABLE_WERROR=NO \
|
||||
|
|
|
@ -33,6 +33,11 @@ _warningFlags = [
|
|||
'-Wno-literal-suffix', # GCC
|
||||
'-Wno-user-defined-literals', # Clang
|
||||
|
||||
# GCC warns about this when TEST_IS_CONSTANT_EVALUATED is used on a non-constexpr
|
||||
# function. (This mostely happens in C++11 mode.)
|
||||
# TODO(mordante) investigate a solution for this issue.
|
||||
'-Wno-tautological-compare',
|
||||
|
||||
# These warnings should be enabled in order to support the MSVC
|
||||
# team using the test suite; They enable the warnings below and
|
||||
# expect the test suite to be clean.
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
// GCC supports noexcept function types but this test still fails.
|
||||
// This is likely a bug in their implementation. Investigation needed.
|
||||
// XFAIL: gcc-11
|
||||
// XFAIL: gcc-11, gcc-12
|
||||
|
||||
#include <cassert>
|
||||
|
||||
|
|
Loading…
Reference in New Issue