diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/tree-vect-analyze.c | 2 | ||||
-rw-r--r-- | gcc/tree-vectorizer.c | 1 |
3 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3af68fc..215b553 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2005-03-16 Daniel Berlin <dberlin@dberlin.org> + + * 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 <dalej@apple.com> * rtlanal.c (find_first_parameter_load): Rewrite to diff --git a/gcc/tree-vect-analyze.c b/gcc/tree-vect-analyze.c index df2e882..0ee6f0c 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 82c1088..5859880 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; |