https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102696
--- Comment #3 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:d1dcaa31453fa080a27938b064e53f02272d4aa1 commit r12-4351-gd1dcaa31453fa080a27938b064e53f02272d4aa1 Author: Richard Biener <rguent...@suse.de> Date: Tue Oct 12 13:49:39 2021 +0200 tree-optimization/102696 - fix SLP discovery for failed BIT_FIELD_REF This fixes a forgotten adjustment of matches[] when we fail SLP discovery. 2021-10-12 Richard Biener <rguent...@suse.de> PR tree-optimization/102696 * tree-vect-slp.c (vect_build_slp_tree_2): Properly mark the tree fatally failed when we reject a BIT_FIELD_REF. * g++.dg/vect/pr102696.cc: New testcase.