https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97615
--- Comment #4 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:b626b00823af9ca9ab619fe13d1e8703a3101dab commit r11-4482-gb626b00823af9ca9ab619fe13d1e8703a3101dab Author: Richard Biener <rguent...@suse.de> Date: Wed Oct 28 13:21:53 2020 +0100 tree-optimization/97615 - avoid creating externals from patterns The previous change missed to check for patterns again, the following corrects that. 2020-10-28 Richard Biener <rguent...@suse.de> PR tree-optimization/97615 * tree-vect-slp.c (vect_build_slp_tree_2): Do not build an external from pattern defs. * gcc.dg/vect/bb-slp-pr97615.c: New testcase.