https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108482
--- Comment #14 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:ad4f8c4e375dd7603382ed3ff95bd184e1959918 commit r13-5300-gad4f8c4e375dd7603382ed3ff95bd184e1959918 Author: Richard Biener <rguent...@suse.de> Date: Mon Jan 23 10:22:38 2023 +0100 tree-optimization/108482 - remove stray .LOOP_DIST_ALIAS calls The following deals with .LOOP_DIST_ALIAS surviving vectorization because any of the loops involved were elided between loop distribution and vectorization. As opposed to .LOOP_VECTORIZED which exists only between if-conversion and vectorization with no intermediate passes this is more difficult to deal with in advance and thus cleaning up after vectorization looks better. There's the unconditional vector lowering pass which looks like a good place for this (for SIMD uid we have pass_simduid_cleanup). PR tree-optimization/108482 * tree-vect-generic.cc (expand_vector_operations): Fold remaining .LOOP_DIST_ALIAS calls. * gcc.dg/torture/pr108482.c: New testcase.