diff options
author | Daniel Berlin <dberlin@dberlin.org> | 2005-03-16 21:42:55 +0000 |
---|---|---|
committer | Daniel Berlin <dberlin@gcc.gnu.org> | 2005-03-16 21:42:55 +0000 |
commit | e8b19a779dd9d676f5fa9cec25249b75def48c16 (patch) | |
tree | 7b1375fb506b484993d4cdccfe0a277758448a5f /gcc | |
parent | 930c1fc2a0d2819ae6a859676ae29687eafc2f74 (diff) | |
download | gcc-e8b19a779dd9d676f5fa9cec25249b75def48c16.zip gcc-e8b19a779dd9d676f5fa9cec25249b75def48c16.tar.gz gcc-e8b19a779dd9d676f5fa9cec25249b75def48c16.tar.bz2 |
tree-vectorizer.c (new_vec_stmt_info): Initialize STMT_VINFO_SUBVARS to NULL.
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.
From-SVN: r96581
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; |