https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101242
--- Comment #7 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:c01760bc548ba79bc9ac15168b27fe7aabcb19ae commit r12-1866-gc01760bc548ba79bc9ac15168b27fe7aabcb19ae Author: Richard Biener <rguent...@suse.de> Date: Tue Jun 29 09:33:24 2021 +0200 tree-optimization/101242 - fix reverse graph entry detection This avoids detecting random unrelated nodes as possible entries to not backwards reachable regions of the SLP graph. Instead explicitely add the problematic nodes. This temporary XFAILs gcc.dg/vect/pr67790.c until I get the permute propagation adjusted to when it needs more than one optimistic iteration. 2021-06-29 Richard Biener <rguent...@suse.de> PR tree-optimization/101242 * tree-vect-slp.c (vect_slp_build_vertices): Force-add PHIs with not represented initial values as leafs. * gcc.dg/vect/bb-slp-pr101242.c: New testcase. * gcc.dg/vect/pr67790.c: XFAIL scan for zero VEC_PERM_EXPR.