summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vect/pr22506.c
blob: 5a2d74995cee7858962fafea2755bc5142e54868 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-do compile } */
/* { dg-require-effective-target vect_int } */

float x[3];

void foo()
{
    int i;

    for (i=0; i<5; ++i) x[i]=0;
    for (i=0; i<4; ++i) ;
}

/* { dg-final { cleanup-tree-dump "vect" } } */