openmp: Fix signed/unsigned warning
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr30843.c
blob8acbffd3d7f9799918de895516ef535cdecf49e2
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_long } */
4 #include <stdarg.h>
5 #include "tree-vect.h"
7 #define N 16
9 void dacP98FillRGBMap (unsigned char *pBuffer)
11 unsigned long dw, dw1;
12 unsigned long *pdw = (unsigned long *)(pBuffer);
14 for( dw = 256, dw1 = 0; dw; dw--, dw1 += 0x01010101)
16 *pdw++ = dw1;
17 *pdw++ = dw1;
18 *pdw++ = dw1;
19 *pdw++ = dw1;
23 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target { vect_interleave || vect_strided4 } } } } */