OSDN Git Service

Add a testcase for PR middle-end/44144.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.target / i386 / pr44144.c
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -ftree-vectorize -mavx" } */
3
4 void
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 }