https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127018
--- Comment #8 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:c4b73807c1f59260dd6576fc6a52a0f0f01b4afe commit r17-3593-gc4b73807c1f59260dd6576fc6a52a0f0f01b4afe Author: Richard Biener <[email protected]> Date: Mon Aug 24 15:06:58 2026 +0200 tree-optimization/127018 - missed caching of SLP schedule failure When scheduling the SLP graph we fail to cache a scheduling result, so when there's multiple entries referencing a failed node we realize we have visited it already but fail to re-instantiate a failure to schedule. PR tree-optimization/127018 * tree-vect-slp.cc (slp_scc_info::res): New member. (vect_schedule_scc): Initialize res for invariants and when pushing to the stack. Record result for singletons and look it up for already visited entries. * gcc.dg/vect/bb-slp-pr127018.c: New testcase.
