https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108440
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> --- Do rotates have the same issue with undefinednes as shifts? With shifts it's whether the CPU interprets out-of-bound values as modulo the size or not but with rotates this wouldn't make any difference? The tree.def comments indicate out-of-bound values invoke undefined behavior.