https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118297
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Tibor Győri from comment #4) > It might even be the case that the current cost model is correct, > vectorization is indeed sometimes unprofitable. > But in that case, the issue is how this is communicated to the user, the > "unsupported outerloop form" message does not feel informative enough. I > mean it is a trivial loop that will get completely unrolled, right? So in my > mind that already counts as "supported", but GCC is telling me it is not. Well there are 2 different kinds of vectorizer, the SLP and loop based one, you were looking at the loop one which is saying it is unsupported.