https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66726
--- Comment #10 from Jeffrey A. Law <law at redhat dot com> --- Sinking the cast changes the form of the range tests into one that tree-ssa-reassoc isn't prepared to handle. Sadly the form presented with the cast sunk is *simpler* than the original. I'm testing a bit of a hack to avoid the sinking of the cast in cases where doing so is less likely to be a win.