https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68000
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note I was looking at the code generation of AARCH64 which does not have addition in QI Mode and does those adds in SImode and RTL CSE (or RTL GCSE, I did not look into which one) could remove the extra addition.