https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101291
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- The trigger is the vectorizer versioning on niter->assumptions and that being wrong. That feature is new in GCC 10 thus GCC 9 appears to be fine (but likely niter->assumptions is still wrong).