Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.c-torture / compile / acc1.c
blob206d16b8ce8b5a14bb5852072a2ee2947ddef68e
1 /* { dg-options "-O2 -ffast-math" } */
3 /* Fast maths allows tail recursion to be turned into iteration. */
5 double
6 foo (int n, double f)
8 if (n == 0)
9 return f;
10 else
11 return f + foo (n - 1, f);
14 double
15 bar (int n, double f)
17 if (n == 0)
18 return f;
19 else
20 return f * bar (n - 1, f);