openmp: Fix signed/unsigned warning
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr85597.c
blob71cc3615d636f3786c9e35c7dbbda2c9dad7cbeb
1 /* { dg-do compile } */
2 /* { dg-additional-options "-O3" } */
3 /* { dg-additional-options "-mfma" { target { x86_64-*-* i?86-*-* } } } */
5 extern double fma (double, double, double);
7 static inline void
8 bar (int i, double *D, double *S)
10 while (i-- > 0)
12 D[0] = fma (1, S[0], D[0]);
13 D[1] = fma (1, S[1], D[1]);
14 D[2] = fma (1, S[2], D[2]);
15 D[3] = fma (1, S[3], D[3]);
16 D += 4;
17 S += 4;
21 void
22 foo (double *d, double *s)
24 bar (10, d, s);