https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111896
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #3) > This was fixed via PR 101354 's fix. > The simple workaround is to add noipa in an additional to naked. > > *** This bug has been marked as a duplicate of bug 101354 *** And yes I tested 9.4.0 to see that "fixes" the issue.