__builtin_constant_p is true in the wrong case on gcc 13.2. Exclude for now

This commit is contained in:
Konstantinos Margaritis 2023-10-06 11:44:41 +03:00
parent 22a24f12ea
commit 98d7434cfd

View File

@ -1145,7 +1145,7 @@ really_inline SuperVector<32> SuperVector<32>::loadu_maskz(void const *ptr, uint
template<>
really_inline SuperVector<32> SuperVector<32>::alignr(SuperVector<32> &other, int8_t offset)
{
#if defined(HAVE__BUILTIN_CONSTANT_P)
#if defined(HAVE__BUILTIN_CONSTANT_P) && !(defined(__GNUC__) && (__GNUC__ == 13))
if (__builtin_constant_p(offset)) {
if (offset == 16) {
return *this;