https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116990
--- Comment #7 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-14 branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:50d0fda4905b01bce87a6a733fe23c70cee3860a commit r14-10777-g50d0fda4905b01bce87a6a733fe23c70cee3860a Author: Richard Biener <rguent...@suse.de> Date: Mon Oct 7 11:24:12 2024 +0200 tree-optimization/116990 - missed control flow check in vect_analyze_loop_form The following fixes checking for unsupported control flow in vectorization to also cover the outer loop body. PR tree-optimization/116990 * tree-vect-loop.cc (vect_analyze_loop_form): Check the current loop body for control flow. (cherry picked from commit b0b71618157ddac52266909978f331406f98f3a2)