[Bug target/89093] [9 Regression] C++ exception handling clobbers d8 VFP register
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 17 12:43:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89093
--- Comment #56 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Can't you just add prototypes?
Like:
static if (GNU_ARM_EABI_Unwinder)
{
@attribute("target", ("general-regs-only"))
private _Unwind_Reason_Code __gdc_personality(_Unwind_Action actions,
_Unwind_Exception_Class
exceptionClass,
_Unwind_Exception* unwindHeader,
_Unwind_Context* context);
}
etc. before the actual definitions? attribute ("", ("")) seems ugly.
More information about the Gcc-bugs
mailing list