2 /* Origin: Waldek Hebisch <hebisch@math.uni.wroc.pl> */
5 /* { dg-options "-O2" } */
7 /* This used to fail on various versions of Solaris 2 because the
8 trampoline couldn't be made executable. */
10 extern void abort(void);
14 const int correct
[1100] = {1, 0, -2, 0, 1, 0, 1, -1, -10, -30, -67};
17 double x1 (void) {return 1; }
18 double x2 (void) {return -1;}
19 double x3 (void) {return -1;}
20 double x4 (void) {return 1; }
21 double x5 (void) {return 0; }
23 typedef double pfun(void);
25 double a (int k
, pfun x1
, pfun x2
, pfun x3
, pfun x4
, pfun x5
)
30 return a (k
, b
, x1
, x2
, x3
, x4
);
41 if (fabs(a( i
, x1
, x2
, x3
, x4
, x5
) - correct
[i
]) > 0.1)