https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96028
--- Comment #6 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:105ecbea5f402713130fef4d41bb000e2d23493b commit r11-1788-g105ecbea5f402713130fef4d41bb000e2d23493b Author: Richard Biener <rguent...@suse.de> Date: Thu Jul 2 11:45:06 2020 +0200 tree-optimization/96028 - fix bogus externalizing of SLP node This guards externalizing a SLP node when it fails to code generate to actually have scalar defs we can use. It also makes failure to do so not fell the whole SLP instance but instead try this again on the parent. 2020-07-02 Richard Biener <rguent...@suse.de> PR tree-optimization/96028 * tree-vect-slp.c (vect_slp_convert_to_external): Make sure we have scalar stmts to use. (vect_slp_analyze_node_operations): When analyzing a child failed try externalizing the parent node.