https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117343
--- Comment #3 from GCC 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:9999cc79e9866ba33dea0256078f4557d92d80d9 commit r15-4738-g9999cc79e9866ba33dea0256078f4557d92d80d9 Author: Richard Biener <rguent...@suse.de> Date: Tue Oct 29 11:26:13 2024 +0100 tree-optimization/117343 - decide_masked_load_lanes and stale graph It turns out decide_masked_load_lanes accesses a stale SLP graph so the following re-builds it instead. PR tree-optimization/117343 * tree-vect-slp.cc (vect_optimize_slp_pass::build_vertices): Support re-building the SLP graph. (vect_optimize_slp_pass::run): Re-build the SLP graph before decide_masked_load_lanes.