https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89093
--- Comment #42 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Thanks for the explanation. In that case, I think it would be better to just add __attribute__((target("general-regs-only"))) to the #ifdef __ARM_EABI_UNWINDER__ _Unwind_Reason_Code PERSONALITY_FUNCTION (_Unwind_State, struct _Unwind_Exception *, struct _Unwind_Context *); decl in unwind-c.c and similarly for eh_personality.cc and to other personality routines that use CONTINUE_UNWINDING as well (plus to unwind-arm.c and pr-support.c using pragma for everything).