From: Konstantinos Margaritis Date: Fri, 6 Oct 2023 08:44:41 +0000 (+0300) Subject: __builtin_constant_p is true in the wrong case on gcc 13.2. Exclude for now X-Git-Tag: vectorscan/5.4.11~2^2~5^2~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98d7434cfd7c8b9a962247f825f3879093eceeb9;p=thirdparty%2Fvectorscan.git __builtin_constant_p is true in the wrong case on gcc 13.2. Exclude for now --- 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;