https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51708
Oleg Endo <olegendo at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |olegendo at gcc dot gnu.org --- Comment #5 from Oleg Endo <olegendo at gcc dot gnu.org> --- The latest patch https://gcc.gnu.org/bugzilla/attachment.cgi?id=55543 by Alex in PR 54089 inserts some additional passes in order to hoist constant loads for shift operations out of loops. Perhaps that would fix this issue, too.