https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105394
--- Comment #11 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:dfae0c5a29f336cdab234b28999f9ba9dc20a4d0 commit r13-81-gdfae0c5a29f336cdab234b28999f9ba9dc20a4d0 Author: Richard Biener <rguent...@suse.de> Date: Fri Apr 29 11:54:45 2022 +0200 tree-optimization/105394 - vector lowering of compares The following fixes missing handling of non-integer mode but masked (SVE or MVE) compares in vector lowering by using the appropriate mask element width to extract the components and adjust the index. 2022-04-29 Richard Biener <rguent...@suse.de> PR tree-optimization/105394 * tree-vect-generic.cc (expand_vector_condition): Adjust comp_width for non-integer mode masks as well.