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

float x[3];

void foo()
{
    int i;

    for (i=0; i<3; ++i) x[i]=0;
    for (i=0; i<2; ++i) ;
}