2009-07-17 Richard Guenther <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr34407.c
blob3da2ed7b3b380cc64e174ef88e9488c2294d3b6b
1 /* { dg-do compile } */
3 extern int ReadBlobByte (void);
5 void ReadRLEImage (unsigned char *p)
7 unsigned char background_color[4] = { 0, 1, 2, 3 };
8 long j;
10 unsigned long number_planes = ReadBlobByte();
12 for (j = 0; j < (long) number_planes; j++)
13 *p++ = background_color[j];
16 /* { dg-final { cleanup-tree-dump "vect" } } */