From 303d8f779266535269e443f2fa65a3170a742ff4 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Thu, 25 Oct 2018 14:28:18 +0000 Subject: [PATCH] tree-vect-data-refs.c (vect_analyze_data_ref_accesses): Initialize ng to silence error with release checking bootstrap. 2018-10-25 Richard Biener * tree-vect-data-refs.c (vect_analyze_data_ref_accesses): Initialize ng to silence error with release checking bootstrap. From-SVN: r265491 --- gcc/ChangeLog | 5 +++++ gcc/tree-vect-data-refs.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 22db60649df..6bc7daa589f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-10-25 Richard Biener + + * tree-vect-data-refs.c (vect_analyze_data_ref_accesses): + Initialize ng to silence error with release checking bootstrap. + 2018-10-25 Richard Biener * tree-if-conv.c: Include tree-ssa-sccvn.h. diff --git a/gcc/tree-vect-data-refs.c b/gcc/tree-vect-data-refs.c index 9185b1bd1c0..92173442108 100644 --- a/gcc/tree-vect-data-refs.c +++ b/gcc/tree-vect-data-refs.c @@ -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) -- 2.30.2