https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106886
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Richard Sandiford <rsand...@gcc.gnu.org>: https://gcc.gnu.org/g:338a5b0d7da84ef1f6c01dd96abf2c6bc830f403 commit r13-2544-g338a5b0d7da84ef1f6c01dd96abf2c6bc830f403 Author: Richard Sandiford <richard.sandif...@arm.com> Date: Thu Sep 8 16:18:28 2022 +0100 vect: Fix scalar stmt typo in vect_optimize_slp_pass [PR106886] Fix a stupid typo in my vect_optimize_slp_pass patch. gcc/ PR tree-optimization/106886 * tree-vect-slp.cc (vect_optimize_slp_pass::get_result_with_layout): Fix copying of scalar stmts. gcc/testsuite/ PR tree-optimization/106886 * gcc.dg/vect/bb-slp-layout-21.c: New test.