https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95014
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
Last reconfirmed| |2021-08-01
Severity|normal |enhancement
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
Note I have not looked into why but on aarch64-linux-gnu GCC can remove the
cmp/jump.
