From: dberlin Date: Wed, 16 Mar 2005 21:42:55 +0000 (+0000) Subject: 2005-03-16 Daniel Berlin X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=50ed75ab8c3b4ba1316ed2725338745387ebf2d4;p=thirdparty%2Fgcc.git 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96581 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3af68fc87458..215b5532bb53 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 df2e88282cf0..0ee6f0c362cd 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 82c108888acb..5859880977e7 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;