https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95335
--- Comment #2 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:a5d8d86e8a72736bfd8a2ce8aa427dec896a442e commit r11-657-ga5d8d86e8a72736bfd8a2ce8aa427dec896a442e Author: Richard Biener <rguent...@suse.de> Date: Wed May 27 11:18:01 2020 +0200 tree-optimization/95335 - fix SLP nodes dropped to invariant When we drop a SLP node to invariant because we cannot vectorize it we have to make sure to revisit it in the users. 2020-05-27 Richard Biener <rguent...@suse.de> PR tree-optimization/95335 * tree-vect-slp.c (vect_slp_analyze_node_operations): Reset lvisited for nodes made external. * gcc.dg/vect/bb-slp-pr95335.c: New testcase.