1 /* { dg-do compile } */
2 /* { dg-options "-O2 -ftree-vectorize -mavx -mtune=generic" } */
3 
4 void
foo(char * dest,int xcount,int ycount)5 foo (char * dest, int xcount, int ycount)
6 {
7   int x, y;
8   for (y = 0; y < ycount; y++)
9     for (x = 0; x < xcount; x++)
10       dest[x + y*2] = 0;
11 }
12