Skip to content

Commit 655651a

Browse files
authored
[libc++] Upgrade to GCC 14 (#97205)
1 parent f15266e commit 655651a

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

.github/workflows/libcxx-build-and-test.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ jobs:
6363
cxx: [ 'clang++-19' ]
6464
include:
6565
- config: 'generic-gcc'
66-
cc: 'gcc-13'
67-
cxx: 'g++-13'
66+
cc: 'gcc-14'
67+
cxx: 'g++-14'
6868
steps:
6969
- uses: actions/checkout@v4
7070
- name: ${{ matrix.config }}.${{ matrix.cxx }}
@@ -101,8 +101,8 @@ jobs:
101101
cxx: [ 'clang++-19' ]
102102
include:
103103
- config: 'generic-gcc-cxx11'
104-
cc: 'gcc-13'
105-
cxx: 'g++-13'
104+
cc: 'gcc-14'
105+
cxx: 'g++-14'
106106
- config: 'generic-cxx23'
107107
cc: 'clang-17'
108108
cxx: 'clang++-17'

libcxx/test/libcxx/gdb/gdb_pretty_printer_test.sh.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,11 @@ void framework_self_test() {
158158
template <typename T> class UncompressibleAllocator : public std::allocator<T> {
159159
public:
160160
char X;
161+
162+
template <class U>
163+
struct rebind {
164+
using other = UncompressibleAllocator<U>;
165+
};
161166
};
162167

163168
void string_test() {

libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/PR31384.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// UNSUPPORTED: c++03
1010

1111
// FIXME: Why does this start to fail with GCC 14?
12-
// XFAIL: gcc-14
12+
// XFAIL: !(c++11 || c++14) && gcc-14
1313

1414
// See https://llvm.org/PR31384.
1515

libcxx/trigger

Whitespace-only changes.

0 commit comments

Comments
 (0)