]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-optimization/117060 - fix oversight in vect_build_slp_tree_1
authorRichard Biener <rguenther@suse.de>
Thu, 10 Oct 2024 12:15:13 +0000 (14:15 +0200)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 10 Oct 2024 13:26:17 +0000 (15:26 +0200)
commit7ce2229d54d575d788b016f941aafd0464ea77f7
tree37132725fbed1aefba8d37b14be6ec7f97bc4ca4
parenta2e06b7f081a3d2e50e3afa8d3f1676a05099707
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.
gcc/testsuite/gfortran.dg/pr117060.f90 [new file with mode: 0644]
gcc/tree-vect-slp.cc