https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116126
--- Comment #10 from ak at gcc dot gnu.org --- Okay it looks like the test case just avoids the if (...) return problem by replacing it with if (...) break. I guess the vectorizer should really be able to do that on its own.