OSDN Git Service

2005-03-16 Daniel Berlin <dberlin@dberlin.org>
authordberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 16 Mar 2005 21:42:55 +0000 (21:42 +0000)
committerdberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 16 Mar 2005 21:42:55 +0000 (21:42 +0000)
* 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

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

index 3af68fc..215b553 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 df2e882..0ee6f0c 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 82c1088..5859880 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;