[libcxx-commits] [libcxx] b51f8f1 - [libc++][test] Removes Clang < 14 support. (#76658)
via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Jan 1 23:06:48 PST 2024
Author: Mark de Wever
Date: 2024-01-02T08:06:44+01:00
New Revision: b51f8f13edf3f7ab6407d2b7b46285ea675730b6
URL: https://github.com/llvm/llvm-project/commit/b51f8f13edf3f7ab6407d2b7b46285ea675730b6
DIFF: https://github.com/llvm/llvm-project/commit/b51f8f13edf3f7ab6407d2b7b46285ea675730b6.diff
LOG: [libc++][test] Removes Clang < 14 support. (#76658)
Added:
Modified:
libcxx/test/std/numerics/rand/rand.dist/rand.dist.uni/rand.dist.uni.int/eval.pass.cpp
Removed:
################################################################################
diff --git a/libcxx/test/std/numerics/rand/rand.dist/rand.dist.uni/rand.dist.uni.int/eval.pass.cpp b/libcxx/test/std/numerics/rand/rand.dist/rand.dist.uni/rand.dist.uni.int/eval.pass.cpp
index 669f90d5292df1..3a2942b74596a2 100644
--- a/libcxx/test/std/numerics/rand/rand.dist/rand.dist.uni/rand.dist.uni.int/eval.pass.cpp
+++ b/libcxx/test/std/numerics/rand/rand.dist/rand.dist.uni/rand.dist.uni.int/eval.pass.cpp
@@ -26,12 +26,6 @@
#include "test_macros.h"
-// The __int128 conversions to/from floating point crash on MinGW on x86_64.
-// This is fixed in Clang 14 by https://reviews.llvm.org/D110413.
-#if defined(__x86_64__) && defined(__MINGW32__) && defined(__clang_major__) && __clang_major__ < 14
- #define TEST_BUGGY_I128_FP
-#endif
-
template <class T>
T sqr(T x) {
return x * x;
@@ -127,7 +121,7 @@ int main(int, char**)
test_statistics<std::int8_t, std::minstd_rand0>();
test_statistics<std::uint8_t, std::minstd_rand0>();
-#if !defined(TEST_HAS_NO_INT128) && !defined(TEST_BUGGY_I128_FP)
+#if !defined(TEST_HAS_NO_INT128)
test_statistics<__int128_t, std::minstd_rand0>();
test_statistics<__uint128_t, std::minstd_rand0>();
More information about the libcxx-commits
mailing list