https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122925
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |16.0
Summary|sh: function is miscompiled |[16 Regression] sh:
| |function is miscompiled
Keywords| |ABI
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Looks like a regression GCC 15 did:
_main:
mov.l .L10,r0
mov.l .L11,r5
sts.l pr,@-r15
jsr @r0
mov #0,r4
Here L11 is:
.L11:
.long 65535