https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116610
--- Comment #3 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:6a1a856ba78589f7f5285b00ecd40ba2bbeef8b0 commit r15-3507-g6a1a856ba78589f7f5285b00ecd40ba2bbeef8b0 Author: Richard Biener <rguent...@suse.de> Date: Thu Sep 5 11:18:57 2024 +0200 tree-optimization/116610 - wrong SLP induction bias for mask peeling The following fixes a mistake when applying the bias for peeling via masking to the inital value of SLP inductions. This resolves gcc.target/aarch64/sve/peel_ind_1.c (a scan-assembler only unfortunately) when forcing single-lane SLP for it. PR tree-optimization/116610 * tree-vect-loop.cc (vectorizable_induction): Use MINUS_EXPR to apply a mask peeling adjustment.