Recently, a commit added support for the intrinsics implementing FEAT_SME_TMOP,
but in
gcc/config/aarch64/aarch64-sve-builtins-sme.def file, there is a missing #undef
REQUIRED_EXTENSIONS
which causes an error that REQUIRED_EXTENSIONS is already defined when -Werror
is specified.
gcc/ChangeLog:
* config/aarch64/aarch64-sve-builtins-sme.def
(REQUIRED_EXTENSIONS):
Jean-Didier Pailleux
---
gcc/config/aarch64/aarch64-sve-builtins-sme.def | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/config/aarch64/aarch64-sve-builtins-sme.def
b/gcc/config/aarch64/aarch64-sve-builtins-sme.def
index ed45ea2a1e1..1f64c489a61 100644
--- a/gcc/config/aarch64/aarch64-sve-builtins-sme.def
+++ b/gcc/config/aarch64/aarch64-sve-builtins-sme.def
@@ -378,6 +378,7 @@ DEF_SME_ZA_FUNCTION_GS_FPM (svmop4a, mop4, mop4_f8f16,
none, none, set)
| AARCH64_FL_SME_MOP4 \
| AARCH64_FL_SME_F8F32)
DEF_SME_ZA_FUNCTION_GS_FPM (svmop4a, mop4, mop4_f8f32, none, none, set)
+#undef REQUIRED_EXTENSIONS
#define REQUIRED_EXTENSIONS streaming_only (AARCH64_FL_SME_TMOP)
DEF_SME_ZA_FUNCTION_GS (svtmopa_lane, ternary_za_uint_dual_single, tmop_base,
none, none)
--
2.43.5