[Bug target/89093] [9 Regression] C++ exception handling clobbers d8 VFP register
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 9 19:33:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89093
--- Comment #35 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Bernd Edlinger from comment #33)
> (In reply to Ramana Radhakrishnan from comment #32)
> >
> > Either I drop the warning or I keep the hunk in eh_personality.cc - any
> > preferences / thoughts ?
>
> It would feel safer, if only the functions that need it
> had a target attribute like:
>
> _Unwind_Reason_Code
> #ifdef __ARM_EABI_UNWINDER__
> __attribute__((target("general-regs-only")))
> PERSONALITY_FUNCTION (_Unwind_State state,
> struct _Unwind_Exception* ue_header,
> struct _Unwind_Context* context)
Agreed - will this work instead?
More information about the Gcc-bugs
mailing list