Skip to content

Commit a3603e9

Browse files
committed
[libc++] Remove annotations for GCC 13 and update the documentation
1 parent 655651a commit a3603e9

File tree

11 files changed

+13
-21
lines changed

11 files changed

+13
-21
lines changed

libcxx/docs/index.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ iOS, watchOS, and tvOS, Google Search, the Android operating system, and FreeBSD
7171
user base of over 1 billion daily active users.
7272

7373
Since its inception, libc++ has focused on delivering high performance, standards-conformance, and portability. It has
74-
been extensively tested and optimized, making it robust and production ready. libc++ fully implements C++11 and C++14,
74+
been extensively tested and optimized, making it robust and production ready. libc++ fully implements C++11 and C++14,
7575
with C++17, C++20, C++23, and C++26 features being actively developed and making steady progress.
7676

7777
libc++ is continuously integrated and tested on a wide range of platforms and configurations, ensuring its reliability
@@ -137,7 +137,7 @@ Compiler Versions Restrictions Support policy
137137
Clang 17, 18, 19-git latest two stable releases per `LLVM's release page <https://releases.llvm.org>`_ and the development version
138138
AppleClang 15 latest stable release per `Xcode's release page <https://developer.apple.com/documentation/xcode-release-notes>`_
139139
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>`_
140-
GCC 13 In C++11 or later only latest stable release per `GCC's release page <https://gcc.gnu.org/releases.html>`_
140+
GCC 14 In C++11 or later only latest stable release per `GCC's release page <https://gcc.gnu.org/releases.html>`_
141141
============ =============== ========================== =====================
142142

143143
Libc++ also supports common platforms and architectures:

libcxx/include/__configuration/compiler.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
# warning "Libc++ only supports AppleClang 15 and later"
4242
# endif
4343
# elif defined(_LIBCPP_GCC_VER)
44-
# if _LIBCPP_GCC_VER < 1300
45-
# warning "Libc++ only supports GCC 13 and later"
44+
# if _LIBCPP_GCC_VER < 1400
45+
# warning "Libc++ only supports GCC 14 and later"
4646
# endif
4747
# endif
4848

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

-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414
// TODO: Investigate these failures which break the CI.
1515
// UNSUPPORTED: clang-17, clang-18, clang-19
1616

17-
// TODO: Investigate this failure on GCC 13 (in Ubuntu Jammy)
18-
// UNSUPPORTED: gcc-13
19-
2017
// The Android libc++ tests are run on a non-Android host, connected to an
2118
// Android device over adb. gdb needs special support to make this work (e.g.
2219
// gdbclient.py, ndk-gdb.py, gdbserver), and the Android organization doesn't

libcxx/test/std/algorithms/robust_against_adl.compile.pass.cpp

-5
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@
88

99
// <algorithm>
1010

11-
// https://buildkite.com/llvm-project/libcxx-ci/builds/15823#0184fc0b-d56b-4774-9e1d-35fe24e09e37
12-
// It seems like the CI gcc version is buggy. I can't reproduce the failure on my system or on
13-
// godbolt (https://godbolt.org/z/rsPv8e8fn).
14-
// UNSUPPORTED: gcc-13
15-
1611
#include <algorithm>
1712
#include <cstddef>
1813
#include <functional>

libcxx/test/std/containers/views/mdspan/mdspan/index_operator.pass.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ constexpr void test_layout() {
122122
test_iteration(construct_mapping(Layout(), std::extents<unsigned, 7, 8>()));
123123
test_iteration(construct_mapping(Layout(), std::extents<signed char, D, D, D, D>(1, 1, 1, 1)));
124124

125-
// TODO enable for GCC 13, when the CI pipeline is switched, doesn't work with GCC 12
126-
#if defined(__clang_major__) && __clang_major__ >= 17
125+
// TODO(LLVM 20): Enable this once AppleClang is upgraded
126+
#ifndef TEST_COMPILER_APPLE_CLANG
127127
int data[1];
128128
// Check operator constraint for number of arguments
129129
static_assert(check_operator_constraints(std::mdspan(data, construct_mapping(Layout(), std::extents<int, D>(1))), 0));
@@ -216,7 +216,7 @@ constexpr void test_layout() {
216216
assert(!check_operator_constraints(std::mdspan(data, construct_mapping(Layout(), std::extents<int, D>(1))), s));
217217
}
218218
}
219-
#endif
219+
#endif // TEST_COMPILER_APPLE_CLANG
220220
}
221221

222222
template <class Layout>

libcxx/test/std/time/time.zone/time.zone.leap/nonmembers/comparison.pass.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// UNSUPPORTED: no-filesystem, no-localization, no-tzdb
1111

1212
// TODO TZDB investigate why this fails with GCC
13-
// UNSUPPORTED: gcc-13, gcc-14
13+
// UNSUPPORTED: gcc-14
1414

1515
// XFAIL: libcpp-has-no-experimental-tzdb
1616
// XFAIL: availability-tzdb-missing

libcxx/test/std/utilities/expected/expected.expected/monadic/transform.pass.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
// GCC has a issue for `Guaranteed copy elision for potentially-overlapping non-static data members`,
1212
// please refer to: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108333
13-
// XFAIL: gcc-13, gcc-14
13+
// XFAIL: gcc-14
1414

1515
// <expected>
1616

libcxx/test/std/utilities/expected/expected.expected/monadic/transform_error.pass.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
// GCC has a issue for `Guaranteed copy elision for potentially-overlapping non-static data members`,
1212
// please refer to: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108333.
13-
// XFAIL: gcc-13, gcc-14
13+
// XFAIL: gcc-14
1414

1515
// <expected>
1616

libcxx/test/std/utilities/expected/expected.void/monadic/transform_error.pass.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
// GCC has a issue for `Guaranteed copy elision for potentially-overlapping non-static data members`,
1212
// please refer to: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108333
13-
// XFAIL: gcc-13, gcc-14
13+
// XFAIL: gcc-14
1414

1515
// <expected>
1616

libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/formatter.char_array.pass.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
// UNSUPPORTED: c++03, c++11, c++14, c++17
99
// TODO FMT __builtin_memcpy isn't constexpr in GCC
10-
// UNSUPPORTED: gcc-13, gcc-14
10+
// UNSUPPORTED: gcc-14
1111

1212
// <format>
1313

libcxxabi/test/catch_member_function_pointer_02.pass.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
// GCC supports noexcept function types but this test still fails.
1414
// This is likely a bug in their implementation. Investigation needed.
15-
// XFAIL: gcc-13, gcc-14
15+
// XFAIL: gcc-14
1616

1717
#include <cassert>
1818

0 commit comments

Comments
 (0)