]> git.ipfire.org Git - thirdparty/gcc.git/commit
SLP: Initialize variable to fix bootstrap after r277784.
authortnfchris <tnfchris@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Nov 2019 19:25:20 +0000 (19:25 +0000)
committertnfchris <tnfchris@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Nov 2019 19:25:20 +0000 (19:25 +0000)
commitc8e1e33e347b445bf1295aa8019b52ad1ea4c75c
tree5cfe6a6d83553401f905cae95a726f7a5e0db008
parente8b358af3bbacd75cfae0b7fcafe2b662397f3eb
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@277788 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-vect-slp.c