From e8b19a779dd9d676f5fa9cec25249b75def48c16 Mon Sep 17 00:00:00 2001 From: Daniel Berlin Date: Wed, 16 Mar 2005 21:42:55 +0000 Subject: [PATCH] tree-vectorizer.c (new_vec_stmt_info): Initialize STMT_VINFO_SUBVARS to NULL. 2005-03-16 Daniel Berlin * tree-vectorizer.c (new_vec_stmt_info): Initialize STMT_VINFO_SUBVARS to NULL. * tree-vect-analyze.c (vect_analyze_data_refs): Ditto. From-SVN: r96581 --- gcc/ChangeLog | 6 ++++++ gcc/tree-vect-analyze.c | 2 +- gcc/tree-vectorizer.c | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3af68fc8745..215b5532bb5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2005-03-16 Daniel Berlin + + * tree-vectorizer.c (new_vec_stmt_info): Initialize + STMT_VINFO_SUBVARS to NULL. + * tree-vect-analyze.c (vect_analyze_data_refs): Ditto. + 2005-03-16 Dale Johannesen * rtlanal.c (find_first_parameter_load): Rewrite to diff --git a/gcc/tree-vect-analyze.c b/gcc/tree-vect-analyze.c index df2e88282cf..0ee6f0c362c 100644 --- a/gcc/tree-vect-analyze.c +++ b/gcc/tree-vect-analyze.c @@ -1880,7 +1880,7 @@ vect_analyze_data_refs (loop_vec_info loop_vinfo) tree scalar_type, vectype; tree base, offset, misalign, step, tag; bool base_aligned; - subvar_t subvars; + subvar_t subvars = NULL; /* Assumption: there exists a data-ref in stmt, if and only if it has vuses/vdefs. */ diff --git a/gcc/tree-vectorizer.c b/gcc/tree-vectorizer.c index 82c108888ac..5859880977e 100644 --- a/gcc/tree-vectorizer.c +++ b/gcc/tree-vectorizer.c @@ -1167,6 +1167,7 @@ new_stmt_vec_info (tree stmt, loop_vec_info loop_vinfo) STMT_VINFO_VEC_STMT (res) = NULL; STMT_VINFO_DATA_REF (res) = NULL; STMT_VINFO_MEMTAG (res) = NULL; + STMT_VINFO_SUBVARS (res) = NULL; STMT_VINFO_VECT_DR_BASE_ADDRESS (res) = NULL; STMT_VINFO_VECT_INIT_OFFSET (res) = NULL_TREE; STMT_VINFO_VECT_STEP (res) = NULL_TREE;