OSDN Git Service

For Greta Yorsh.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / tree-ssa / gen-vect-33.c
1 /* Compiler generates 64-bit stores of zero for this on some targets.
2    Check there is no problem for such case.  */
3 /* { dg-do compile } */
4 /* { dg-options "-O2 -ftree-vectorize" } */
5
6 void
7 foo (float *dest, int xcount, int  ycount)
8 {
9   int x, y;
10
11   for (y = 0; y < ycount; y++)
12     for (x = 0; x < xcount; x++)
13       dest[x + y] = (float) 0;
14 }