From 2ec5b3fb2ccb0120be641e077089f3da5e53d8a3 Mon Sep 17 00:00:00 2001 From: xleroy Date: Sun, 17 Sep 2006 12:04:56 +0000 Subject: Davantage de tests git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@104 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e --- test/c/almabench.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'test/c/almabench.c') diff --git a/test/c/almabench.c b/test/c/almabench.c index c617006d..5487b062 100644 --- a/test/c/almabench.c +++ b/test/c/almabench.c @@ -186,7 +186,7 @@ double anpm (double a) void planetpv (double epoch[2], int np, double pv[2][3]) { // working storage - int i, j, k; + int k; double t, da, dl, de, dp, di, doh, dmu, arga, argl, am; double ae, dae, ae2, at, r, v, si2, xq, xp, tl, xsw; double xcw, xm2, xf, ci2, xms, xmc, xpxq2, x, y, z; @@ -345,9 +345,7 @@ static void bench(int nloops) int main(int argc, char ** argv) { - if (argc >= 2) - bench(atoi(argv[1])); - else - test(); + test(); + bench(1); return 0; } -- cgit