diff options
author | Richard Biener <rguenther@suse.de> | 2020-09-29 15:02:47 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2020-09-29 15:18:39 +0200 |
commit | 39a27bb01aa223ce89946f0a4de6b60c4c0b03d2 (patch) | |
tree | 2284bd6563dd67e6d208e5e014fb0b8c0f5c9f13 /gcc/fortran | |
parent | b1570930df659ff3ea6691f9ba8b84c8a189d85d (diff) | |
download | gcc-39a27bb01aa223ce89946f0a4de6b60c4c0b03d2.zip gcc-39a27bb01aa223ce89946f0a4de6b60c4c0b03d2.tar.gz gcc-39a27bb01aa223ce89946f0a4de6b60c4c0b03d2.tar.bz2 |
tree-optimization/97241 - fix ICE in reduction vectorization
The following moves an ad-hoc attempt at discovering the SLP node
for a stmt to the place where we can find it in lock-step when
we find the stmt itself.
2020-09-29 Richard Biener <rguenther@suse.de>
PR tree-optimization/97241
* tree-vect-loop.c (vectorizable_reduction): Move finding
the SLP node for the reduction stmt to a better place.
* gcc.dg/vect/pr97241.c: New testcase.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions