https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99825
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Tamar Christina <tnfch...@gcc.gnu.org>: https://gcc.gnu.org/g:9c68e2abe294a48385224cd7617eca0720144b5c commit r11-7909-g9c68e2abe294a48385224cd7617eca0720144b5c Author: Tamar Christina <tamar.christ...@arm.com> Date: Tue Mar 30 14:16:03 2021 +0100 slp: reject non-multiple of 2 laned SLP trees (PR99825) TWO_OPERANDS allows any order or number of combinations of + and - operations but the pattern matcher only supports pairs of operations. This patch has the pattern matcher for complex numbers reject SLP trees where the lanes are not a multiple of 2. gcc/ChangeLog: PR tree-optimization/99825 * tree-vect-slp-patterns.c (vect_check_evenodd_blend): Reject non-mult 2 lanes. gcc/testsuite/ChangeLog: PR tree-optimization/99825 * gfortran.dg/vect/pr99825.f90: New test.