https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70220
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hjl.tools at gmail dot com
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Wink Saville from comment #0)
> I have identified one possible problem and with this scheme, what if the
> compiler needs to setup a stack frame by pushing rbp and then moving rsp to
> rbp, how would that case be handled.
Why should be it a problem unless you don't want to restore RSP and RBP
to its original values upon returning from ISR. Please provide an example
here.