https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117000
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- >In GCC 14+ the compilation converges to test1 also in test2. So what is happening in GCC 13 is SLP vectorizer is not able to vectorizer test2 but GCC 14 is. The loop vectorizer is able to handle test1 in both.