summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/gen-vect-33.c
blob: 8cd12da3d8c83f2896b9d165a94c760d7122eab9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* Compiler generates 64-bit stores of zero for this on some targets.
   Check there is no problem for such case.  */
/* { dg-do compile } */
/* { dg-options "-O2 -ftree-vectorize" } */

void
foo (float *dest, int xcount, int  ycount)
{
  int x, y;

  for (y = 0; y < ycount; y++)
    for (x = 0; x < xcount; x++)
      dest[x + y] = (float) 0;
}