1 /* { dg-do compile { target fpic } } */
2 /* { dg-options "-O2 -fpic" } */
4 extern void foo (void *a
, double x
, double y
);
6 bar (void *a
, double b
, double c
, double d
, double e
, double f
, double g
, double h
, double i
, double j
, double k
[6])
17 r
= 2 * (e
- 2 * g
+ i
);
26 x
= ((b
-h
)*o
+ 3*(d
+h
)*o
+ 3*(f
-h
)*o
);
27 y
= ((c
-i
)*o
+ 3*(e
+i
)*o
+ 3*(g
-i
)*o
);
33 x
= ((b
+3*f
-h
)*p
+ 3*(d
-2*f
+h
)*p
+ 3*p
);
34 y
= ((c
+3*g
-i
)*p
+ 3*(e
-2*g
+i
)*p
+ 3*p
);
35 v
= x
* k
[0] + y
* k
[2];
36 w
= x
* k
[1] + y
* k
[3];
44 t
= (- r
+ aa
) / (2 * q
);
45 u
= (- r
- aa
) / (2 * q
);