tree-optimization/97761 - fix SLP live calculation
authorRichard Biener <rguenther@suse.de>
Mon, 9 Nov 2020 13:32:41 +0000 (14:32 +0100)
committerRichard Biener <rguenther@suse.de>
Mon, 9 Nov 2020 14:50:24 +0000 (15:50 +0100)
commit96f315213f337c2d5a9268f2d3e8337bbdb71bfc
tree8d83148e49ee571251e54dfd4cd9e55d66c23a3c
parent4e85ad79a137535393d8dc169359e1730cab3533
tree-optimization/97761 - fix SLP live calculation

This removes a premature end of the DFS walk.

2020-11-09  Richard Biener  <rguenther@suse.de>

PR tree-optimization/97761
* tree-vect-slp.c (vect_bb_slp_mark_live_stmts): Remove
premature end of DFS walk.

* gfortran.dg/vect/pr97761.f90: New testcase.
gcc/testsuite/gfortran.dg/vect/pr97761.f90 [new file with mode: 0644]
gcc/tree-vect-slp.c