https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64024
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> --- Generally calling SCEV analysis again during the transform phase asks for trouble (though it may work in most cases). This means that the simple_iv calls (which are mostly useless as computed stuff isn't actually used in most cases) should be avoided at transform time. Didn't look into this specific case but can do so (just assign the bug to me then).