Remove unaligned assert tests.

Manually constructing an unaligned object declared as aligned
invokes UB, so we cannot technically check for alignment from
within the constructor.  Newer versions of clang optimize away
this check.

Removing the affected tests.


(cherry picked from commit 0c4ae56e37)
This commit is contained in:
Antonio Sanchez
2021-08-17 09:43:15 -07:00
committed by Rasmus Munk Larsen
parent 1ec173b54e
commit fd100138dd
6 changed files with 0 additions and 204 deletions

View File

@@ -582,11 +582,6 @@ template<typename Scalar> void transform_alignment()
VERIFY_IS_APPROX(p1->matrix(), p3->matrix());
VERIFY_IS_APPROX( (*p1) * (*p1), (*p2)*(*p3));
#if defined(EIGEN_VECTORIZE) && EIGEN_MAX_STATIC_ALIGN_BYTES>0
if(internal::packet_traits<Scalar>::Vectorizable)
VERIFY_RAISES_ASSERT((::new(reinterpret_cast<void*>(array3u)) Projective3a));
#endif
}
template<typename Scalar, int Dim, int Options> void transform_products()