https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91974
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The originally reported issue fixed for 9.3+ too. Not really sure if it is a good idea to backport the shift and array ref changes, those are quite invasive.