OSDN Git Service

2009-05-11 H.J. Lu <hongjiu.lu@intel.com>
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 May 2009 13:51:14 +0000 (13:51 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 May 2009 13:51:14 +0000 (13:51 +0000)
* tree-vect-data-refs.c (vect_analyze_group_access): Use
HOST_WIDE_INT for gap.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147375 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tree-vect-data-refs.c

index f33d4b0..f7c503a 100644 (file)
@@ -1,3 +1,8 @@
+2009-05-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * tree-vect-data-refs.c (vect_analyze_group_access): Use
+       HOST_WIDE_INT for gap.
+
 2009-05-11  Ira Rosen  <irar@il.ibm.com>
 
        PR tree-optimization/40074
index 42854a0..443ecd0 100644 (file)
@@ -1424,11 +1424,11 @@ vect_analyze_group_access (struct data_reference *dr)
       /* First stmt in the interleaving chain. Check the chain.  */
       gimple next = DR_GROUP_NEXT_DR (vinfo_for_stmt (stmt));
       struct data_reference *data_ref = dr;
-      unsigned int count = 1, gaps = 0;
+      unsigned int count = 1;
       tree next_step;
       tree prev_init = DR_INIT (data_ref);
       gimple prev = stmt;
-      HOST_WIDE_INT diff, count_in_bytes;
+      HOST_WIDE_INT diff, count_in_bytes, gaps = 0;
 
       while (next)
         {