https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116799
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to James McCoy from comment #2) > My initial bisect pointed to that, but I was using the Vim test suite as the > good/bad check. > > I'm rerunning now with just the minimal reproduction to double check the > results. I think you misunderstood, what I am saying is the x86 and s390x has the same IR at the point at expand and therefor the problem is not with the commit for PR 111294 itself but it is exposing an issue with something further along in the compiler. (hence calling it a latent bug). I have not looked further to see if the problem is in one of the RTL optimizations (which is exposed by the s390x backend) or in the s390x backend itself.