https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96163
--- 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:c4facd483de2d5b6b4d20e6ad74c85b9f1eba41a commit r11-2062-gc4facd483de2d5b6b4d20e6ad74c85b9f1eba41a Author: Richard Biener <rguent...@suse.de> Date: Mon Jul 13 12:41:35 2020 +0200 tree-optimization/96163 - fix placement issue with SLP and vectors This avoids placing stmts beyond the vectorizer region begin which confuses vect_stmt_dominates_stmt_p. 2020-07-13 Richard Biener <rguent...@suse.de> PR tree-optimization/96163 * tree-vect-slp.c (vect_schedule_slp_instance): Put new stmts at least after region begin. * g++.dg/vect/pr96163.cc: New testcase.