]> git.ipfire.org Git - thirdparty/gcc.git/commit
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)
committerGiuliano Belinassi <giuliano.belinassi@usp.br>
Mon, 17 Aug 2020 16:16:00 +0000 (13:16 -0300)
commit5cc6a5d1e59e3e7fb519fc0de6adc3e2ffa5a7ff
tree8a1014b57026a13f9cef297e9925012caefda637
parentfc51e4f395ec989e119b680215d9e8a8259a4a1f
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