This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r277788 - in /trunk/gcc: ChangeLog tree-vect-slp.c
- From: tnfchris at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 04 Nov 2019 19:25:20 -0000
- Subject: r277788 - in /trunk/gcc: ChangeLog tree-vect-slp.c
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