https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127195
--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <[email protected]>: https://gcc.gnu.org/g:5dde4aa27ecfefcebc0a0d7dfbf336e321ec6ea1 commit r17-3893-g5dde4aa27ecfefcebc0a0d7dfbf336e321ec6ea1 Author: Richard Biener <[email protected]> Date: Thu Sep 3 09:53:19 2026 +0200 tree-optimization/127195 - ICE with vect_create_constant_vectors With excess lanes present we miscount the number of copies of the SLP elements which eventually results in ctor_seq stmts not being emitted. PR tree-optimization/127195 * tree-vect-slp.cc (vect_create_constant_vectors): Properly compute number_of_copies, assert we end up on a vector boundary. * gcc.dg/vect/vect-pr127195.c: New testcase.
