Skip to content

Commit 790992d

Browse files
authored
[libc++][test][AIX] Only XFAIL atomic tests for before clang 19 (#94646)
These tests pass on 64-bit. They were fixed by 5fdd094 on 32-bit. So XFAIL only for 32-bit before clang 19.
1 parent b25b1db commit 790992d

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/fetch_add.pass.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@
66
//
77
//===----------------------------------------------------------------------===//
88
// UNSUPPORTED: c++03, c++11, c++14, c++17
9-
// UNSUPPORTED: LIBCXX-AIX-FIXME
109
// XFAIL: !has-64-bit-atomics
1110

11+
// Older versions of clang have a bug with atomic builtins affecting double and long double.
12+
// Fixed by 5fdd0948.
13+
// XFAIL: target=powerpc-ibm-{{.*}} && (clang-17 || clang-18)
14+
1215
// https://github.com/llvm/llvm-project/issues/72893
1316
// XFAIL: target={{x86_64-.*}} && tsan
1417

libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/fetch_sub.pass.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@
66
//
77
//===----------------------------------------------------------------------===//
88
// UNSUPPORTED: c++03, c++11, c++14, c++17
9-
// UNSUPPORTED: LIBCXX-AIX-FIXME
109
// XFAIL: !has-64-bit-atomics
1110

11+
// Older versions of clang have a bug with atomic builtins affecting double and long double.
12+
// Fixed by 5fdd0948.
13+
// XFAIL: target=powerpc-ibm-{{.*}} && (clang-17 || clang-18)
14+
1215
// https://github.com/llvm/llvm-project/issues/72893
1316
// XFAIL: target={{x86_64-.*}} && tsan
1417

libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/operator.minus_equals.pass.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@
66
//
77
//===----------------------------------------------------------------------===//
88
// UNSUPPORTED: c++03, c++11, c++14, c++17
9-
// UNSUPPORTED: LIBCXX-AIX-FIXME
109
// XFAIL: !has-64-bit-atomics
1110

11+
// Older versions of clang have a bug with atomic builtins affecting double and long double.
12+
// Fixed by 5fdd0948.
13+
// XFAIL: target=powerpc-ibm-{{.*}} && (clang-17 || clang-18)
14+
1215
// floating-point-type operator-=(floating-point-type) volatile noexcept;
1316
// floating-point-type operator-=(floating-point-type) noexcept;
1417

libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/operator.plus_equals.pass.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@
66
//
77
//===----------------------------------------------------------------------===//
88
// UNSUPPORTED: c++03, c++11, c++14, c++17
9-
// UNSUPPORTED: LIBCXX-AIX-FIXME
109
// XFAIL: !has-64-bit-atomics
1110

11+
// Older versions of clang have a bug with atomic builtins affecting double and long double.
12+
// Fixed by 5fdd0948.
13+
// XFAIL: target=powerpc-ibm-{{.*}} && (clang-17 || clang-18)
14+
1215
// floating-point-type operator+=(floating-point-type) volatile noexcept;
1316
// floating-point-type operator+=(floating-point-type) noexcept;
1417

0 commit comments

Comments
 (0)