From 21ed29e2c9a3d32a2e9ea2ba91eb8f19ee620b0e Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Wed, 9 Dec 2015 20:46:09 +0100 Subject: [PATCH] Disable complex scalar types because the compiler might aggressively vectorize the initialization of complex coeffs to 0 before we can check for alignedness --- test/unalignedassert.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/unalignedassert.cpp b/test/unalignedassert.cpp index 014cc834b..e2f03ffca 100644 --- a/test/unalignedassert.cpp +++ b/test/unalignedassert.cpp @@ -157,7 +157,9 @@ void unalignedassert() VERIFY_RAISES_ASSERT(construct_at_boundary(8)); VERIFY_RAISES_ASSERT(construct_at_boundary(8)); VERIFY_RAISES_ASSERT(construct_at_boundary(8)); - VERIFY_RAISES_ASSERT(construct_at_boundary(8)); + // Complexes are disabled because the compiler might aggressively vectorize + // the initialization of complex coeffs to 0 before we can check for alignedness + //VERIFY_RAISES_ASSERT(construct_at_boundary(8)); VERIFY_RAISES_ASSERT(construct_at_boundary(8)); } for(int b=8; b(b)); if(b<32) VERIFY_RAISES_ASSERT(construct_at_boundary(b)); if(b<128) VERIFY_RAISES_ASSERT(construct_at_boundary(b)); - if(b<32) VERIFY_RAISES_ASSERT(construct_at_boundary(b)); + //if(b<32) VERIFY_RAISES_ASSERT(construct_at_boundary(b)); } #endif }