https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101028
--- Comment #1 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:b9ec5ebb605936684e95b8dcc12e43ba7d8f2cb4 commit r12-1388-gb9ec5ebb605936684e95b8dcc12e43ba7d8f2cb4 Author: Richard Biener <rguent...@suse.de> Date: Fri Jun 11 13:36:26 2021 +0200 tree-optimization/101028 - fix endless SLP reassoc discovery This fixes a missing clearing of mismatched lanes from the fatal fail path in SLP reassoc discovery in the most conservative way. 2021-06-11 Richard Biener <rguent...@suse.de> PR tree-optimization/101028 * tree-vect-slp.c (vect_build_slp_tree_2): When SLP reassoc discovery fails fatally, mark appropriate lanes in matches[] so. * gcc.dg/pr101028.c: New testcase.