The macros introduced in the .def file should all be undef at
the end to prevent overlap with the next .def file being included.
The DEF_SME_FUNCTION_GS macro was missing an undef.
Bootstrapped Regtested on aarch64-none-linux-gnu and no issues.
Pushed.
Thanks,
Tamar
gcc/ChangeLog:
* config/aarch64/aarch64-sve-builtins-sme.def (DEF_SME_FUNCTION_GS):
Undef at end.
---
diff --git a/gcc/config/aarch64/aarch64-sve-builtins-sme.def
b/gcc/config/aarch64/aarch64-sve-builtins-sme.def
index
1f64c489a611940ad067dedb5c2ffcd782fe5644..88c0dd68dc6a72148b6974973bcd427f45a14823
100644
--- a/gcc/config/aarch64/aarch64-sve-builtins-sme.def
+++ b/gcc/config/aarch64/aarch64-sve-builtins-sme.def
@@ -408,3 +408,4 @@ DEF_SME_ZA_FUNCTION_GS_FPM (svtmopa_lane,
ternary_za_uint_dual_single, tmop_s_mf
#undef DEF_SME_ZA_FUNCTION_GS
#undef DEF_SME_ZA_FUNCTION_GS_FPM
#undef DEF_SME_FUNCTION
+#undef DEF_SME_FUNCTION_GS
--
diff --git a/gcc/config/aarch64/aarch64-sve-builtins-sme.def b/gcc/config/aarch64/aarch64-sve-builtins-sme.def
index 1f64c489a611940ad067dedb5c2ffcd782fe5644..88c0dd68dc6a72148b6974973bcd427f45a14823 100644
--- a/gcc/config/aarch64/aarch64-sve-builtins-sme.def
+++ b/gcc/config/aarch64/aarch64-sve-builtins-sme.def
@@ -408,3 +408,4 @@ DEF_SME_ZA_FUNCTION_GS_FPM (svtmopa_lane, ternary_za_uint_dual_single, tmop_s_mf
#undef DEF_SME_ZA_FUNCTION_GS
#undef DEF_SME_ZA_FUNCTION_GS_FPM
#undef DEF_SME_FUNCTION
+#undef DEF_SME_FUNCTION_GS