SLP: Initialize variable to fix bootstrap after r277784.
authorTamar Christina <tamar.christina@arm.com>
Mon, 4 Nov 2019 19:25:20 +0000 (19:25 +0000)
committerTamar Christina <tnfchris@gcc.gnu.org>
Mon, 4 Nov 2019 19:25:20 +0000 (19:25 +0000)
commit0ec77a6c25cbe321d9712e41a3aa04dff97eaaa6
tree5cfe6a6d83553401f905cae95a726f7a5e0db008
parent57d4aea2b45679f1846f81861172d78c28662726
SLP: Initialize variable to fix bootstrap after r277784.

This initializes the rstmt variable with NULL and adds an assert to
check that a value has been given by one of the if cases before use.

This fixes the bootstrap failure due to -Werror.

Committed under the gcc obvious rule.

gcc/ChangeLog:

* tree-vect-slp.c (vectorize_slp_instance_root_stmt): Initialize rstmt.

From-SVN: r277788
gcc/ChangeLog
gcc/tree-vect-slp.c