https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113659
--- Comment #4 from GCC 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:4c2169d2f4061e72e1e61e9a175d16f7ff50f5c0 commit r14-8524-g4c2169d2f4061e72e1e61e9a175d16f7ff50f5c0 Author: Richard Biener <rguent...@suse.de> Date: Tue Jan 30 09:42:08 2024 +0100 tree-optimization/113659 - early exit vectorization and missing VUSE The following handles the case of the main exit going to a path without virtual use and handles it similar to the alternate exit handling. PR tree-optimization/113659 * tree-vect-loop-manip.cc (slpeel_tree_duplicate_loop_to_edge_cfg): Handle main exit without virtual use. * gcc.dg/pr113659.c: New testcase.