mirror of
https://github.com/boostorg/atomic.git
synced 2026-02-01 08:12:07 +00:00
Added check for BOOST_NO_ALIGNMENT for float128 tests.
Atomic storage can be implemented without int128 support but when explicit alignment specification is supported.
This commit is contained in:
@@ -44,7 +44,7 @@ int main(int, char *[])
|
||||
test_floating_point_api<float>();
|
||||
test_floating_point_api<double>();
|
||||
test_floating_point_api<long double>();
|
||||
#if defined(BOOST_HAS_INT128) && defined(BOOST_HAS_FLOAT128)
|
||||
#if (defined(BOOST_HAS_INT128) || !defined(BOOST_NO_ALIGNMENT)) && defined(BOOST_HAS_FLOAT128)
|
||||
test_floating_point_api<boost::float128_type>();
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -49,7 +49,7 @@ int main(int, char *[])
|
||||
test_floating_point_api<float>();
|
||||
test_floating_point_api<double>();
|
||||
test_floating_point_api<long double>();
|
||||
#if defined(BOOST_HAS_INT128) && defined(BOOST_HAS_FLOAT128)
|
||||
#if (defined(BOOST_HAS_INT128) || !defined(BOOST_NO_ALIGNMENT)) && defined(BOOST_HAS_FLOAT128)
|
||||
test_floating_point_api<boost::float128_type>();
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user