r277788 - in /trunk/gcc: ChangeLog tree-vect-slp.c

tnfchris@gcc.gnu.org tnfchris@gcc.gnu.org
Mon Nov 4 19:25:00 GMT 2019


Author: tnfchris
Date: Mon Nov  4 19:25:20 2019
New Revision: 277788

URL: https://gcc.gnu.org/viewcvs?rev=277788&root=gcc&view=rev
Log:
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.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-vect-slp.c



More information about the Gcc-cvs mailing list