aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2009-05-11 13:51:14 +0000
committerH.J. Lu <hongjiu.lu@intel.com>2009-05-11 13:51:14 +0000
commit19eebfdfce6a68cc1ecb3bc70da29b83468d217c (patch)
treec7d6481d2898f098599a27b7af30b4348ad7293c
parent5d0789a5b9d93f0a92cf57125aa1297da43e52b0 (diff)
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. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@147375 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree-vect-data-refs.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f33d4b0b1ec..f7c503af3bd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/tree-vect-data-refs.c b/gcc/tree-vect-data-refs.c
index 42854a06631..443ecd04088 100644
--- a/gcc/tree-vect-data-refs.c
+++ b/gcc/tree-vect-data-refs.c
@@ -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)
{