From b17168bf6bac0a78eb2a2c0dd4c016e372db6377 Mon Sep 17 00:00:00 2001 From: "Michael R. Crusoe" Date: Sat, 24 Jan 2026 20:28:50 +0100 Subject: [PATCH] gcc-16 loong64: work around for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123807 --- simde/simde-common.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/simde/simde-common.h b/simde/simde-common.h index 2bfc4ad71..52d75daa6 100644 --- a/simde/simde-common.h +++ b/simde/simde-common.h @@ -1063,20 +1063,22 @@ HEDLEY_DIAGNOSTIC_POP # if !HEDLEY_GCC_VERSION_CHECK(12,0,0) # define SIMDE_BUG_VEC_CPSGN_REVERSED_ARGS # endif -# endif -# if defined(SIMDE_ARCH_ZARCH) +# elif defined(SIMDE_ARCH_ZARCH) # define SIMDE_BUG_GCC_95782 # if HEDLEY_GCC_VERSION_CHECK(10,0,0) # define SIMDE_BUG_GCC_101614 # endif -# endif -# if defined(SIMDE_ARCH_MIPS_MSA) +# elif defined(SIMDE_ARCH_MIPS_MSA) # define SIMDE_BUG_GCC_97248 # if !HEDLEY_GCC_VERSION_CHECK(12,1,0) # define SIMDE_BUG_GCC_100760 # define SIMDE_BUG_GCC_100761 # define SIMDE_BUG_GCC_100762 # endif +# elif defined(SIMDE_ARCH_LOONGARCH) +# if HEDLEY_VERSION_CHECK(16,0,0) +# define SIMDE_BUG_GCC_123807 +# endif # endif # if !defined(__OPTIMIZE__) && !(\ HEDLEY_GCC_VERSION_CHECK(11,4,0) \