tree-vect-data-refs.c (vect_analyze_data_ref_accesses): Initialize ng to silence error with release checking bootstrap.

2018-10-25  Richard Biener  <rguenther@suse.de>

	* tree-vect-data-refs.c (vect_analyze_data_ref_accesses):
	Initialize ng to silence error with release checking bootstrap.

From-SVN: r265491
This commit is contained in:
Richard Biener 2018-10-25 14:28:18 +00:00 committed by Richard Biener
parent b6f517556c
commit 303d8f7792
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2018-10-25 Richard Biener <rguenther@suse.de>
* tree-vect-data-refs.c (vect_analyze_data_ref_accesses):
Initialize ng to silence error with release checking bootstrap.
2018-10-25 Richard Biener <rguenther@suse.de>
* tree-if-conv.c: Include tree-ssa-sccvn.h.

View File

@ -3001,7 +3001,7 @@ vect_analyze_data_ref_accesses (vec_info *vinfo)
Note this is a heuristic but one with the property that *it
is fixed up completely. */
g = grp;
stmt_vec_info newgroup = NULL, ng;
stmt_vec_info newgroup = NULL, ng = grp;
while ((next = DR_GROUP_NEXT_ELEMENT (g)))
{
if (gimple_uid (STMT_VINFO_STMT (next)) >= first_duplicate)