PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / ieee / acc1.c
blobe0d969b9ddc9bdd29321f5f506c1281e446d64f2
1 /* Tail call optimizations would reverse the order of additions in func(). */
3 double func (const double *array)
5 double d = *array;
6 if (d == 0.0)
7 return d;
8 else
9 return d + func (array + 1);
12 int main ()
14 double values[] = { 0.1e-100, 1.0, -1.0, 0.0 };
15 if (func (values) != 0.1e-100)
16 abort ();
17 exit (0);