re PR tree-optimization/85863 (ICE in compiling spec2006 fortran test case solib...
authorRichard Biener <rguenther@suse.de>
Tue, 22 May 2018 09:55:49 +0000 (09:55 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 22 May 2018 09:55:49 +0000 (09:55 +0000)
commit4515e413cb72d3a71b41d3e85da1be03fa88677d
tree2dfce6df605e1feeece53b2e077e8649db576436
parentc5470754d0371c375ddf7f63b398fe97cf18c939
re PR tree-optimization/85863 (ICE in compiling spec2006 fortran test case solib.fppized.f starting with r260283)

2018-05-22  Richard Biener  <rguenther@suse.de>

PR tree-optimization/85863
* tree-vect-stmts.c (vect_is_simple_cond): Only widen invariant
comparisons when vectype is specified.
(vectorizable_condition): Do not specify vectype for
vect_is_simple_cond when SLP vectorizing.

* gfortran.fortran-torture/compile/pr85863.f: New testcase.

From-SVN: r260501
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.fortran-torture/compile/pr85863.f [new file with mode: 0644]
gcc/tree-vect-stmts.c