https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84521
--- Comment #17 from sudi at gcc dot gnu.org --- I looked up what other targets were doing and one thing found to be interesting was that a lot of them are defining the target hook TARGET_BUILTIN_SETJMP_FRAME_VALUE. In AArch64 case I am suggesting to define it to return the hard frame pointer. That seems to solve the issue with both the attached test case and the test that Wilco mentioned. Does this look like it solves "mid-end versus back-end : who fixes this issue" problem? I am still pretty new to knowing how the stack should actually look. So calling for some help! Sudi