From 98d7434cfd7c8b9a962247f825f3879093eceeb9 Mon Sep 17 00:00:00 2001 From: Konstantinos Margaritis Date: Fri, 6 Oct 2023 11:44:41 +0300 Subject: [PATCH] __builtin_constant_p is true in the wrong case on gcc 13.2. Exclude for now --- src/util/supervector/arch/x86/impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/supervector/arch/x86/impl.cpp b/src/util/supervector/arch/x86/impl.cpp index a807c84e..3d232e49 100644 --- a/src/util/supervector/arch/x86/impl.cpp +++ b/src/util/supervector/arch/x86/impl.cpp @@ -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;