re PR tree-optimization/91145 (ICE: in vect_build_slp_tree_2, at tree-vect-slp.c...
authorRichard Biener <rguenther@suse.de>
Fri, 12 Jul 2019 14:36:50 +0000 (14:36 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 12 Jul 2019 14:36:50 +0000 (14:36 +0000)
commitcf91b5997dec281e4b784c163d76d5be3e8569f6
treebe91e099751f1fd3d9053da3a320b2d942abc9fa
parentb847405adee3059762816ab009bc4a5281b5b911
re PR tree-optimization/91145 (ICE: in vect_build_slp_tree_2, at tree-vect-slp.c:1143 with -march=skylake-avx512 -O3)

2019-07-12  Richard Biener  <rguenther@suse.de>

PR tree-optimization/91145
* tree-vect-slp.c (vect_build_slp_tree_2): Fix reduction
chain check.

* gcc.dg/torture/pr91145.c: New testcase.

From-SVN: r273445
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr91145.c [new file with mode: 0644]
gcc/tree-vect-slp.c