https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117186
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Mikael Pettersson from comment #4) > With the following test case I can reproduce the wrong-code with gcc-10.5 > and newer, but not with gcc-9.5/8.5/7.5. > Yes on aarch64, it started in gcc 10. But on arm it started much earlier. Aarch64 looked it was lucky due to a zero extend until 10.