https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97886
--- 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:30270bf042049bf6aee6184e0b7688d9ca7b479d commit r11-5126-g30270bf042049bf6aee6184e0b7688d9ca7b479d Author: Richard Biener <rguent...@suse.de> Date: Wed Nov 18 10:32:29 2020 +0100 tree-optimization/97886 - deal with strange LC PHI nodes This makes vectorization properly assign vector types to PHI nodes that copy from externals on loop exit edges. 2020-11-18 Richard Biener <rguent...@suse.de> PR tree-optimization/97886 * tree-vect-loop.c (vectorizable_lc_phi): Properly assign vector types to invariants for SLP.