PR target/55146
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / fast-math-vect-pow-1.c
blob4d000f192f1b2eeb0c8177c5ee4630c6488812fe
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_float } */
4 float x[256];
6 void foo(void)
8 int i;
9 for (i=0; i<256; ++i)
10 x[i] = x[i] * x[i];
13 /* { dg-final { scan-tree-dump "vectorized 1 loops" "vect" } } */
14 /* { dg-final { cleanup-tree-dump "vect" } } */