[Bug target/89093] [9 Regression] C++ exception handling clobbers d8 VFP register
ibuclaw at gdcproject dot org
gcc-bugzilla@gcc.gnu.org
Thu Apr 18 08:37:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89093
Iain Buclaw <ibuclaw at gdcproject dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ibuclaw at gdcproject dot org
--- Comment #62 from Iain Buclaw <ibuclaw at gdcproject dot org> ---
(In reply to Bernd Edlinger from comment #55)
> But, how about that:
>
The gcc.attribute module just reuses the UDA mechanism, the value after @ can
be any kind of compile-time evaluated tuple or literal.
So you can do instead. if it makes things much nicer for you.
static if (GNU_ARM_EABI_Unwinder)
enum personality_fn_attributes = attribute("target", ("general-regs-only"))
else
enum personality_fn_attributes = "";
@personality_fn_attributes
private _Unwind_Reason_Code __gdc_personality(...)
More information about the Gcc-bugs
mailing list