https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117060
--- Comment #2 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:7ce2229d54d575d788b016f941aafd0464ea77f7 commit r15-4237-g7ce2229d54d575d788b016f941aafd0464ea77f7 Author: Richard Biener <rguent...@suse.de> Date: Thu Oct 10 14:15:13 2024 +0200 tree-optimization/117060 - fix oversight in vect_build_slp_tree_1 We are failing to match call vs. non-call when dealing with matching loads or stores. PR tree-optimization/117060 * tree-vect-slp.cc (vect_build_slp_tree_1): When comparing calls also fail if the first isn't a call. * gfortran.dg/pr117060.f90: New testcase.