re PR tree-optimization/92324 (ICE in expand_direct_optab_fn, at internal-fn.c:2890)
authorRichard Biener <rguenther@suse.de>
Tue, 5 Nov 2019 11:00:24 +0000 (11:00 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 5 Nov 2019 11:00:24 +0000 (11:00 +0000)
commitf340142b839ca1ed576013b4dba3d34245bac7d0
treec14ff685b2062175664a66789b40fb313c6efa3e
parenta895e6d72d763d3fc090ec852d405a07a61d01f4
re PR tree-optimization/92324 (ICE in expand_direct_optab_fn, at internal-fn.c:2890)

2019-11-05  Richard Biener  <rguenther@suse.de>

PR tree-optimization/92324
* tree-vect-loop.c (check_reduction_path): For MIN/MAX require
all signed or unsigned operations.

* gcc.dg/vect/pr92324-3.c: New testcase.

From-SVN: r277822
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/pr92324-3.c [new file with mode: 0644]
gcc/tree-vect-loop.c