blob: a8f25591021318c98b7955832c2d352c02ac4807 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-require-effective-target vect_float } */
float *x;
float parm;
float
test (int start, int end)
{
int i;
for (i = start; i < end; ++i)
{
float tem = x[i];
x[i] = parm * tem;
}
}
/* { dg-final { scan-tree-dump "vectorized 1 loops" "vect" } } */