Add compile command to each testcase
[gcc-vect-testsuite.git] / O3-vect-pr32243.c
blob0116c33fbb32c3901e19f920271241512256fe1b
1 /* { dg-do compile } */
3 typedef struct __GLcontextRec GLcontext;
5 struct gl_renderbuffer
7 struct gl_renderbuffer *Wrapped;
8 void (*PutValues) (GLcontext * ctx, struct gl_renderbuffer * rb,
9 int count, const int x[], const int y[],
10 const void *values, const char *mask);
13 void
14 put_mono_values_s8 (GLcontext * ctx, struct gl_renderbuffer *s8rb,
15 int count, const int x[], const int y[],
16 const void *value, const char *mask)
18 struct gl_renderbuffer *dsrb = s8rb->Wrapped;
19 int temp[4096], i;
20 const char val = *((char *) value);
21 for (i = 0; i < count; i++)
22 if (!mask || mask[i])
23 temp[i] = (temp[i] & 0xffffff) | val;
24 dsrb->PutValues (ctx, dsrb, count, x, y, temp, mask);
27 /* { dg-final { cleanup-tree-dump "vect" } } */