tree-optimization/96037 - fix uninitialized use of slp_op
authorRichard Biener <rguenther@suse.de>
Fri, 3 Jul 2020 10:50:37 +0000 (12:50 +0200)
committerRichard Biener <rguenther@suse.de>
Fri, 3 Jul 2020 10:52:33 +0000 (12:52 +0200)
commit59cc32acc8dde3b8719b9b4f90d33e8c3e3f17bb
treec1952a9ad41947ff458eb3935410762aebcd989c
parent9bc2c2347d5d782c7362efe180ab002759e296c8
tree-optimization/96037 - fix uninitialized use of slp_op

The following avoids leaving slp_def as passed to vect_is_simple_use
by reference uninitialized.

2020-07-03  Richard Biener  <rguenther@suse.de>

PR tree-optimization/96037
* tree-vect-stmts.c (vect_is_simple_use): Initialize *slp_def.
gcc/tree-vect-stmts.c