Skip to content

[libc++][test] disable all atomic<long double> tests #74201

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Dec 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ void test() {
int main(int, char**) {
test<float>();
test<double>();
test<long double>();
// TODO https://github.com/llvm/llvm-project/issues/47978
// test<long double>();

return 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ void test() {
int main(int, char**) {
test<float>();
test<double>();
test<long double>();
// TODO https://github.com/llvm/llvm-project/issues/47978
// test<long double>();

return 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ void test() {
int main(int, char**) {
test<float>();
test<double>();
// https://github.com/llvm/llvm-project/issues/47978
// TODO https://github.com/llvm/llvm-project/issues/47978
// test<long double>();

return 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ void testBasic(MemoryOrder... memory_order) {
assert(a.load() == T(1.2));

// bug
// https://github.com/llvm/llvm-project/issues/47978
// TODO https://github.com/llvm/llvm-project/issues/47978
if constexpr (!std::same_as<T, long double>) {
assert(expected == T(1.2));
}
Expand Down Expand Up @@ -236,10 +236,8 @@ int main(int, char**) {
test<float>();
test<double>();

// https://github.com/llvm/llvm-project/issues/47978
#ifndef TEST_COMPILER_CLANG
test<long double>();
#endif
// TODO https://github.com/llvm/llvm-project/issues/47978
// test<long double>();

return 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ constexpr void testOne() {
constexpr bool test() {
testOne<float>();
testOne<double>();
testOne<long double>();
// TODO https://github.com/llvm/llvm-project/issues/47978
// testOne<long double>();
return true;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
//
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++03, c++11, c++14, c++17
// Clang's support for atomic operations on long double is broken. See https://github.com/llvm/llvm-project/issues/72893
// XFAIL: target={{x86_64-.*}} && tsan
// XFAIL: target={{x86_64-.*}} && msan
// XFAIL: !has-64-bit-atomics
// UNSUPPORTED: !non-lockfree-atomics

Expand Down Expand Up @@ -72,7 +69,8 @@ void test() {
int main(int, char**) {
test<float>();
test<double>();
test<long double>();
// TODO https://github.com/llvm/llvm-project/issues/47978
// test<long double>();

return 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++03, c++11, c++14, c++17
// UNSUPPORTED: LIBCXX-AIX-FIXME
// Clang's support for atomic operations on long double is broken. See https://github.com/llvm/llvm-project/issues/72893
// XFAIL: target={{x86_64-.*}} && tsan
// Hangs with msan.
// UNSUPPORTED: msan
// XFAIL: !has-64-bit-atomics
// UNSUPPORTED: !non-lockfree-atomics

// https://github.com/llvm/llvm-project/issues/72893
// XFAIL: target={{x86_64-.*}} && tsan

// floating-point-type fetch_add(floating-point-type,
// memory_order = memory_order::seq_cst) volatile noexcept;
// floating-point-type fetch_add(floating-point-type,
Expand Down Expand Up @@ -114,7 +113,8 @@ void test() {
int main(int, char**) {
test<float>();
test<double>();
test<long double>();
// TODO https://github.com/llvm/llvm-project/issues/47978
// test<long double>();

return 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++03, c++11, c++14, c++17
// UNSUPPORTED: LIBCXX-AIX-FIXME
// Clang's support for atomic operations on long double is broken. See https://github.com/llvm/llvm-project/issues/72893
// XFAIL: target={{x86_64-.*}} && tsan
// Hangs with msan.
// UNSUPPORTED: msan
// XFAIL: !has-64-bit-atomics
// UNSUPPORTED: !non-lockfree-atomics

// https://github.com/llvm/llvm-project/issues/72893
// XFAIL: target={{x86_64-.*}} && tsan

// floating-point-type fetch_sub(floating-point-type,
// memory_order = memory_order::seq_cst) volatile noexcept;
// floating-point-type fetch_sub(floating-point-type,
Expand Down Expand Up @@ -115,7 +114,8 @@ void test() {
int main(int, char**) {
test<float>();
test<double>();
test<long double>();
// TODO https://github.com/llvm/llvm-project/issues/47978
// test<long double>();

return 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
//
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++03, c++11, c++14, c++17
// Clang's support for atomic operations on long double is broken. See https://github.com/llvm/llvm-project/issues/72893
// XFAIL: !has-64-bit-atomics
// XFAIL: target={{x86_64-.*}} && tsan
// UNSUPPORTED: !non-lockfree-atomics

// floating-point-type load(memory_order = memory_order::seq_cst) volatile noexcept;
Expand Down Expand Up @@ -134,7 +132,8 @@ void test() {
int main(int, char**) {
test<float>();
test<double>();
test<long double>();
// TODO https://github.com/llvm/llvm-project/issues/47978
// test<long double>();

return 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ void test() {
int main(int, char**) {
test<float>();
test<double>();
test<long double>();
// TODO https://github.com/llvm/llvm-project/issues/47978
// test<long double>();

return 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ void test() {
int main(int, char**) {
test<float>();
test<double>();
test<long double>();
// TODO https://github.com/llvm/llvm-project/issues/47978
// test<long double>();

return 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ void test() {
int main(int, char**) {
test<float>();
test<double>();
test<long double>();
// TODO https://github.com/llvm/llvm-project/issues/47978
// test<long double>();

return 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ void test() {
int main(int, char**) {
test<float>();
test<double>();
test<long double>();
// TODO https://github.com/llvm/llvm-project/issues/47978
// test<long double>();

return 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@
//
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++03, c++11, c++14, c++17
// XFAIL: !has-64-bit-atomics
// UNSUPPORTED: LIBCXX-AIX-FIXME
// XFAIL: !has-64-bit-atomics
// UNSUPPORTED: !non-lockfree-atomics
// Hangs with msan.
// UNSUPPORTED: msan

// floating-point-type operator-=(floating-point-type) volatile noexcept;
// floating-point-type operator-=(floating-point-type) noexcept;
Expand Down Expand Up @@ -98,7 +96,8 @@ void test() {
int main(int, char**) {
test<float>();
test<double>();
test<long double>();
// TODO https://github.com/llvm/llvm-project/issues/47978
// test<long double>();

return 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@
//
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++03, c++11, c++14, c++17
// XFAIL: !has-64-bit-atomics
// UNSUPPORTED: LIBCXX-AIX-FIXME
// XFAIL: !has-64-bit-atomics
// UNSUPPORTED: !non-lockfree-atomics
// Hangs with msan.
// UNSUPPORTED: msan

// floating-point-type operator+=(floating-point-type) volatile noexcept;
// floating-point-type operator+=(floating-point-type) noexcept;
Expand Down Expand Up @@ -98,7 +96,8 @@ void test() {
int main(int, char**) {
test<float>();
test<double>();
test<long double>();
// TODO https://github.com/llvm/llvm-project/issues/47978
// test<long double>();

return 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
//
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++03, c++11, c++14, c++17
// Clang's support for atomic operations on long double is broken. See https://github.com/llvm/llvm-project/issues/72893
// XFAIL: !has-64-bit-atomics
// XFAIL: target={{x86_64-.*}} && tsan
// UNSUPPORTED: !non-lockfree-atomics

// void store(floating-point-type, memory_order = memory_order::seq_cst) volatile noexcept;
Expand Down Expand Up @@ -109,7 +107,8 @@ void test() {
int main(int, char**) {
test<float>();
test<double>();
test<long double>();
// TODO https://github.com/llvm/llvm-project/issues/47978
// test<long double>();

return 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++03, c++11, c++14, c++17
// XFAIL: availability-synchronization_library-missing
// Clang's support for atomic operations on long double is broken. See https://github.com/llvm/llvm-project/issues/72893
// XFAIL: target={{x86_64-.*}} && tsan
// XFAIL: target={{x86_64-.*}} && msan
// XFAIL: !has-64-bit-atomics
// UNSUPPORTED: !non-lockfree-atomics

Expand Down Expand Up @@ -120,7 +117,8 @@ void test() {
int main(int, char**) {
test<float>();
test<double>();
test<long double>();
// TODO https://github.com/llvm/llvm-project/issues/47978
// test<long double>();

return 0;
}