This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]