https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91003
--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Fri Nov 29 19:54:25 2019 New Revision: 278860 URL: https://gcc.gnu.org/viewcvs?rev=278860&root=gcc&view=rev Log: 2019-11-29 Richard Biener <rguent...@suse.de> PR tree-optimization/91003 * tree-vect-slp.c (vect_mask_constant_operand_p): Pass in the operand number, avoid handling the non-condition operands of COND_EXPRs as comparisons. (vect_get_constant_vectors): Pass down the operand number. (vect_get_slp_defs): Likewise. * gfortran.dg/pr91003.f90: New testcase. Added: trunk/gcc/testsuite/gfortran.dg/pr91003.f90 Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-slp.c