https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108776
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Richard Biener from comment #1) > Setting --param logical-op-non-short-circuit=1 fixes the testcase for ppc64le > on the branch, I suspect it will be the same for s390x. Then let's go with that. The PR106523/PR108440 fixes are heavily dependent on the ranger so that while fixing the wrong-code it doesn't regress much in rotate recognition. And the ranger is increasingly less capable in older branches, that is why I chose not to backport those fixes at all to 10/11 branches.