re PR tree-optimization/92161 (ICE in vect_get_vec_def_for_stmt_copy, at tree-vect...
authorRichard Biener <rguenther@suse.de>
Mon, 21 Oct 2019 11:32:25 +0000 (11:32 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 21 Oct 2019 11:32:25 +0000 (11:32 +0000)
commitae7f3143a3876378d051e64c8e68718f27c41075
tree07edf24212b9ed0a52b0eaed486a193707dee60f
parentc5dc215df17071281c21450fa2d584e1161e4bc2
re PR tree-optimization/92161 (ICE in vect_get_vec_def_for_stmt_copy, at tree-vect-stmts.c:1687)

2019-10-21  Richard Biener  <rguenther@suse.de>

PR tree-optimization/92161
* tree-vect-loop.c (vect_analyze_loop_2): Reset stmts def-type
for reductions.

* gfortran.dg/pr92161.f: New testcase.

From-SVN: r277240
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr92161.f [new file with mode: 0644]
gcc/tree-vect-loop.c