https://gcc.gnu.org/g:a91de92775b46c0760f72440e775a8b39896b342

commit r17-4230-ga91de92775b46c0760f72440e775a8b39896b342
Author: Jean-Didier Pailleux <[email protected]>
Date:   Mon Sep 14 09:00:24 2026 -0600

    [PATCH] aarch64: Add missing #undef REQUIRED_EXTENSIONS in 
aarch64-sve-builtins-sme
    
    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
    already defined when -Werror is specified.
    
    gcc/ChangeLog:
    
            * config/aarch64/aarch64-sve-builtins-sme.def 
(REQUIRED_EXTENSIONS): Add
            missing #undef.

Diff:
---
 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 ed45ea2a1e16..1f64c489a611 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)

Reply via email to