https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101003
--- 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:cce1697e6fe0134616ebc8f7040d99e66c12241a commit r12-1357-gcce1697e6fe0134616ebc8f7040d99e66c12241a Author: Richard Biener <rguent...@suse.de> Date: Thu Jun 10 10:39:31 2021 +0200 tree-optimization/101003 - use pattern defs when linearizing We of course have to use pattern stmt defs for the linearized chain operands which is what I failed to ensure. 2021-06-10 Richard Biener <rguent...@suse.de> PR tree-optimization/101003 * tree-vect-slp.c (vect_build_slp_tree_2): Appropriately use the pattern stmt defs when linearizing a chain.