[libcxx] [llvm] [libc++] Upgrade to GCC 14 (PR #97205)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 3 13:39:44 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-github-workflow
Author: Nikolas Klauser (philnik777)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/97205.diff
4 Files Affected:
- (modified) .github/workflows/libcxx-build-and-test.yaml (+4-4)
- (modified) libcxx/test/libcxx/gdb/gdb_pretty_printer_test.sh.cpp (+5)
- (modified) libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR31384.pass.cpp (+1-1)
- (removed) libcxx/trigger ()
``````````diff
diff --git a/.github/workflows/libcxx-build-and-test.yaml b/.github/workflows/libcxx-build-and-test.yaml
index d7c21394ca486..1456f245cf7c0 100644
--- a/.github/workflows/libcxx-build-and-test.yaml
+++ b/.github/workflows/libcxx-build-and-test.yaml
@@ -63,8 +63,8 @@ jobs:
cxx: [ 'clang++-19' ]
include:
- config: 'generic-gcc'
- cc: 'gcc-13'
- cxx: 'g++-13'
+ cc: 'gcc-14'
+ cxx: 'g++-14'
steps:
- uses: actions/checkout at v4
- name: ${{ matrix.config }}.${{ matrix.cxx }}
@@ -101,8 +101,8 @@ jobs:
cxx: [ 'clang++-19' ]
include:
- config: 'generic-gcc-cxx11'
- cc: 'gcc-13'
- cxx: 'g++-13'
+ cc: 'gcc-14'
+ cxx: 'g++-14'
- config: 'generic-cxx23'
cc: 'clang-17'
cxx: 'clang++-17'
diff --git a/libcxx/test/libcxx/gdb/gdb_pretty_printer_test.sh.cpp b/libcxx/test/libcxx/gdb/gdb_pretty_printer_test.sh.cpp
index 640365889efae..e6adda3b02b51 100644
--- a/libcxx/test/libcxx/gdb/gdb_pretty_printer_test.sh.cpp
+++ b/libcxx/test/libcxx/gdb/gdb_pretty_printer_test.sh.cpp
@@ -158,6 +158,11 @@ void framework_self_test() {
template <typename T> class UncompressibleAllocator : public std::allocator<T> {
public:
char X;
+
+ template <class U>
+ struct rebind {
+ using other = UncompressibleAllocator<U>;
+ };
};
void string_test() {
diff --git a/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR31384.pass.cpp b/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR31384.pass.cpp
index 0b40ac9ff0468..e6812e9a3a30a 100644
--- a/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR31384.pass.cpp
+++ b/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR31384.pass.cpp
@@ -9,7 +9,7 @@
// UNSUPPORTED: c++03
// FIXME: Why does this start to fail with GCC 14?
-// XFAIL: gcc-14
+// XFAIL: !(c++11 || c++14) && gcc-14
// See https://llvm.org/PR31384.
diff --git a/libcxx/trigger b/libcxx/trigger
deleted file mode 100644
index e69de29bb2d1d..0000000000000
``````````
</details>
https://github.com/llvm/llvm-project/pull/97205
More information about the llvm-commits
mailing list