https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114843
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://github.com/gnustep/ | |libobjc2/issues/247 --- Comment #14 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I tested alloca and large stack sizes, they both look good to me. I will add runtime testcase for both. not omitting FP also looks correct. The patch itself is most contained in aarch64_pop_regs/aarch64_restore_callee_saves which just skips the restore if the regno was eh_return_data_regno and returning normally. > no tests tried to return a value on the non-exception path well libobjc2 does and that is how this was originally root caused even: https://github.com/gnustep/libobjc2/issues/247