https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128377
--- Comment #4 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:73690b0ce3749249c0791f22872c85ad37442c14 commit r17-5881-g73690b0ce3749249c0791f22872c85ad37442c14 Author: Richard Biener <[email protected]> Date: Tue Nov 3 09:54:33 2026 +0100 tree-optimization/128377 - SLP inserts before returns-twice call The following adjusts vec_info::insert_seq_on_entry to deal with the case where the SLP region starts at a block with a returns-twice call. That cannot participate in vectorization and we have to insert after it. PR tree-optimization/128377 * tree-vectorizer.cc (vec_info::insert_seq_on_entry): Advance the iterator if the region starts with a returns-twice call. * gcc.dg/vect/bb-slp-pr128377.c: New testcase.
