https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112618
--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-13 branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:016ca45dcba40ed73869caf37f09023fa7fca5f8 commit r13-8291-g016ca45dcba40ed73869caf37f09023fa7fca5f8 Author: Richard Biener <rguent...@suse.de> Date: Mon Nov 20 11:12:43 2023 +0100 tree-optimization/112618 - unused .MASK_CALL We have to make sure to remove unused .MASK_CALL internal function calls after vectorization. PR tree-optimization/112618 * tree-vect-loop.cc (vect_transform_loop_stmt): For not relevant and unused .MASK_CALL make sure we remove the scalar stmt. * gcc.dg/pr112618.c: New testcase. (cherry picked from commit 57c028acbec4f7b594e6b024e02d6c799b51e03d)