re PR fortran/91003 (ICE when compiling LAPACK (CGEGV) with optimization)
authorRichard Biener <rguenther@suse.de>
Fri, 29 Nov 2019 19:54:25 +0000 (19:54 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 29 Nov 2019 19:54:25 +0000 (19:54 +0000)
commitd005f61e7a0dbb2c991f13b4b61b1a27ca2d8b73
treeb81bd53d5b8ffaad0acdf0605109ada9cc2737df
parent24cc0de967b57f7d1d911921e4cd5332b039380a
re PR fortran/91003 (ICE when compiling LAPACK (CGEGV) with optimization)

2019-11-29  Richard Biener  <rguenther@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.

From-SVN: r278860
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr91003.f90 [new file with mode: 0644]
gcc/tree-vect-slp.c