debugaligntest fails with Clang 17 branch
debugaligntest
fails with Clang 16 (and the not yet released version of Clang 17). With g++ 13 I see no issue. Any idea what went wrong?
> ./debugaligntest
CHECK FAILED(default construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<bool, 32ul>
CHECK FAILED(destruct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<bool, 32ul>
CHECK FAILED(move construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<bool, 32ul>
CHECK FAILED(copy construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<bool, 32ul>
CHECK FAILED(default construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<char, 32ul>
CHECK FAILED(destruct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<char, 32ul>
CHECK FAILED(move construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<char, 32ul>
CHECK FAILED(copy construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<char, 32ul>
CHECK FAILED(default construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<signed char, 32ul>
CHECK FAILED(destruct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<signed char, 32ul>
CHECK FAILED(move construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<signed char, 32ul>
CHECK FAILED(copy construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<signed char, 32ul>
CHECK FAILED(default construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<unsigned char, 32ul>
CHECK FAILED(destruct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<unsigned char, 32ul>
CHECK FAILED(move construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<unsigned char, 32ul>
CHECK FAILED(copy construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<unsigned char, 32ul>
CHECK FAILED(default construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<short, 32ul>
CHECK FAILED(destruct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<short, 32ul>
CHECK FAILED(move construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<short, 32ul>
CHECK FAILED(copy construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<short, 32ul>
CHECK FAILED(default construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<unsigned short, 32ul>
CHECK FAILED(destruct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<unsigned short, 32ul>
CHECK FAILED(move construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<unsigned short, 32ul>
CHECK FAILED(copy construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<unsigned short, 32ul>
CHECK FAILED(default construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<int, 32ul>
CHECK FAILED(destruct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<int, 32ul>
CHECK FAILED(move construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<int, 32ul>
CHECK FAILED(copy construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<int, 32ul>
CHECK FAILED(default construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<unsigned int, 32ul>
CHECK FAILED(destruct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<unsigned int, 32ul>
CHECK FAILED(move construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<unsigned int, 32ul>
CHECK FAILED(copy construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<unsigned int, 32ul>
CHECK FAILED(default construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<long, 32ul>
CHECK FAILED(destruct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<long, 32ul>
CHECK FAILED(move construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<long, 32ul>
CHECK FAILED(copy construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<long, 32ul>
CHECK FAILED(default construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<unsigned long, 32ul>
CHECK FAILED(destruct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<unsigned long, 32ul>
CHECK FAILED(move construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<unsigned long, 32ul>
CHECK FAILED(copy construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<unsigned long, 32ul>
CHECK FAILED(default construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<long long, 32ul>
CHECK FAILED(destruct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<long long, 32ul>
CHECK FAILED(move construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<long long, 32ul>
CHECK FAILED(copy construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<long long, 32ul>
CHECK FAILED(default construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<unsigned long long, 32ul>
CHECK FAILED(destruct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<unsigned long long, 32ul>
CHECK FAILED(move construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<unsigned long long, 32ul>
CHECK FAILED(copy construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<unsigned long long, 32ul>
CHECK FAILED(default construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<wchar_t, 32ul>
CHECK FAILED(destruct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<wchar_t, 32ul>
CHECK FAILED(move construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<wchar_t, 32ul>
CHECK FAILED(copy construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<wchar_t, 32ul>
CHECK FAILED(default construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<char16_t, 32ul>
CHECK FAILED(destruct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<char16_t, 32ul>
CHECK FAILED(move construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<char16_t, 32ul>
CHECK FAILED(copy construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<char16_t, 32ul>
CHECK FAILED(default construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<char32_t, 32ul>
CHECK FAILED(destruct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<char32_t, 32ul>
CHECK FAILED(move construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<char32_t, 32ul>
CHECK FAILED(copy construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<char32_t, 32ul>
CHECK FAILED(default construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<float, 32ul>
CHECK FAILED(destruct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<float, 32ul>
CHECK FAILED(move construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<float, 32ul>
CHECK FAILED(copy construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<float, 32ul>
CHECK FAILED(default construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<double, 32ul>
CHECK FAILED(destruct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<double, 32ul>
CHECK FAILED(move construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<double, 32ul>
CHECK FAILED(copy construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<double, 32ul>
CHECK FAILED(default construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<long double, 32ul>
CHECK FAILED(destruct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<long double, 32ul>
CHECK FAILED(move construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<long double, 32ul>
CHECK FAILED(copy construct): misalignment not detected for Dune::AlignedNumberImpl::AlignedNumber<long double, 32ul>
TEST FAILED: 72/8103 checks failed in this test.