https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109415
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Depending on the feature you are testing for, you could use some other macros. e.g. __ARM_FEATURE_PAUTH, __ARM_FEATURE_BTI, __ARM_FEATURE_CMSE .