Disable test_round for double-fp on old GCC

This commit is contained in:
ckormanyos
2025-09-01 18:50:46 +02:00
parent 62cb7cdd6d
commit 4aa8952e8d
+8
View File
@@ -510,12 +510,20 @@ int main()
test<boost::multiprecision::float128>();
#endif
#ifdef TEST_CPP_DOUBLE_FLOAT
// When using very old GCC, categorically disable this test for cpp_double_fp_backend.
// Do not attempt, at the moment, to track down the compiler's "internal failure".
#if (defined(BOOST_GCC) && !defined(BOOST_CLANG) && (BOOST_GCC < 80000))
#else
test<boost::multiprecision::cpp_double_float>();
test<boost::multiprecision::cpp_double_double>();
test<boost::multiprecision::cpp_double_long_double>();
#if defined(BOOST_MP_CPP_DOUBLE_FP_HAS_FLOAT128)
test<boost::multiprecision::cpp_double_float128>();
#endif
#endif
#endif
return boost::report_errors();