[committed][middle-end][SLP] Initialize variable to fix bootstrap after r277784.

Tamar Christina Tamar.Christina@arm.com
Mon Nov 4 19:27:00 GMT 2019


Hi All,

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.

Bootstrapped on aarch64-none-linux-gnu and no issues.

Committed under the gcc obvious rule.

gcc/ChangeLog:

2019-11-04  Tamar Christina  <tamar.christina@arm.com>

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

-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rb12179.patch
Type: text/x-diff
Size: 842 bytes
Desc: rb12179.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20191104/e0531cfa/attachment.bin>


More information about the Gcc-patches mailing list