aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/vect/pr22506.c
blob: a618e32917860179ba36e1b6dae848fa6514c6d2 (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<3; ++i) x[i]=0;
    for (i=0; i<2; ++i) ;
}

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