tree-vect-data-refs.c (vect_analyze_group_access): Use HOST_WIDE_INT for gap.

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.

From-SVN: r147375
This commit is contained in:
H.J. Lu 2009-05-11 13:51:14 +00:00 committed by H.J. Lu
parent 4da39468e7
commit df398a3708
2 changed files with 7 additions and 2 deletions

View 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

View 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)
{