tree-vectorizer.c (new_vec_stmt_info): Initialize STMT_VINFO_SUBVARS to NULL.
authorDaniel Berlin <dberlin@dberlin.org>
Wed, 16 Mar 2005 21:42:55 +0000 (21:42 +0000)
committerDaniel Berlin <dberlin@gcc.gnu.org>
Wed, 16 Mar 2005 21:42:55 +0000 (21:42 +0000)
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

gcc/ChangeLog
gcc/tree-vect-analyze.c
gcc/tree-vectorizer.c

index 3af68fc8745802f50c670b9dab5d4de3fe2fbb1f..215b5532bb53aca611eb6105a9d3b57b853464ba 100644 (file)
@@ -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
index df2e88282cf03b625e9b80bb3d7bb8eeea145a88..0ee6f0c362cd0e3886e4b4503a2d2f428d773604 100644 (file)
@@ -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.  */
index 82c108888acb566ae0a15701d7ca4e3456dcbf8e..5859880977e75c68751e8a11ecab033e07a76576 100644 (file)
@@ -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;