From 5afc91d52db8cfaba56577eecc72c4ec942b10be Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Tue, 21 Feb 2023 05:23:43 +0200 Subject: [PATCH] Change _EQ(max_align, alignof(std::max_align_t)) to _GE unconditionally, because macOS 12.4/M1 also fails (16 > 8) --- test/max_align_test.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/test/max_align_test.cpp b/test/max_align_test.cpp index 4b4a97d..45b8e35 100644 --- a/test/max_align_test.cpp +++ b/test/max_align_test.cpp @@ -54,16 +54,9 @@ int main() BOOST_TEST_GE( boost::core::max_align, boost::alignment_of::value ); #if !defined(BOOST_NO_CXX11_ALIGNOF) && !defined(BOOST_NO_STD_MAX_ALIGN_T) -# if defined(BOOST_LIBSTDCXX_VERSION) && BOOST_LIBSTDCXX_VERSION < 70000 - // libstdc++ 7 adds __float128 to std::max_align_t, but we always have it BOOST_TEST_GE( boost::core::max_align, alignof( std::max_align_t ) ); -# else - - BOOST_TEST_EQ( boost::core::max_align, alignof( std::max_align_t ) ); - -# endif #endif return boost::report_errors();