Implement C _FloatN, _FloatNx types.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr63342.c
blob499d508c13f0c934caa9e4f0b36a32e1213ec2d5
1 /* PR debug/63342 */
2 /* { dg-do compile } */
3 /* { dg-options "-g -O2" } */
4 /* { dg-additional-options "-fpic" { target fpic } } */
6 static __thread double u[9], v[9];
8 void
9 foo (double **p, double **q)
11 *p = u;
12 *q = v;
15 double
16 bar (double x)
18 int i;
19 double s = 0.0;
20 for (i = 0; i < 9; i++)
22 double a = x + v[i];
23 s += u[i] * a * a;
25 return s;