re PR tree-optimization/86287 (AddressSanitizer: heap-use-after-free on bootstrap...
authorRichard Biener <rguenther@suse.de>
Tue, 26 Jun 2018 06:42:46 +0000 (06:42 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 26 Jun 2018 06:42:46 +0000 (06:42 +0000)
commit9ae91886f6a59fbcba0559299e170ee82fa592cb
treebb66c56c1cb07553283713a12b2fc0d3ee52b7dc
parent7d0c13523ca0896a160881c9701b020172fb67fd
re PR tree-optimization/86287 (AddressSanitizer: heap-use-after-free on bootstrap with -O3)

2018-06-26  Richard Biener  <rguenther@suse.de>

PR tree-optimization/86287
PR bootstrap/86316
* tree-vect-loop.c (vect_transform_loop_stmt): Fix read-after-free.
(vect_analyze_loop): Initialize n_stmts.

From-SVN: r262132
gcc/ChangeLog
gcc/tree-vect-loop.c