https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65010
Segher Boessenkool <segher at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |segher at gcc dot gnu.org --- Comment #8 from Segher Boessenkool <segher at gcc dot gnu.org> --- Not the same thing. The ABI requires sign extension for the function result and the parameters. In PR23450, the request is we do not follow the ABI for a function that is only called locally. In this PR on the other hand, the sign extension will never do anything, so the PR asks for the code to be optimised better, removing the unnecessary extsw.