aboutsummaryrefslogtreecommitdiffstats
path: root/test/c/fib.c
diff options
context:
space:
mode:
authorCyril SIX <cyril.six@kalray.eu>2019-09-10 17:50:42 +0200
committerCyril SIX <cyril.six@kalray.eu>2019-09-10 17:50:42 +0200
commit5b6c019a507688dfcf63b9ef54f7731137422ab5 (patch)
treee9b5e653c1facbedc8756c1320f5ac9563695c80 /test/c/fib.c
parent8caa5a2e1f825b6e3d6b87e294c1a53c65d62612 (diff)
downloadcompcert-kvx-5b6c019a507688dfcf63b9ef54f7731137422ab5.tar.gz
compcert-kvx-5b6c019a507688dfcf63b9ef54f7731137422ab5.zip
Starting to modify official CompCert tests to be passable with the simu
Diffstat (limited to 'test/c/fib.c')
-rw-r--r--test/c/fib.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/c/fib.c b/test/c/fib.c
index 19548415..77aa7bb9 100644
--- a/test/c/fib.c
+++ b/test/c/fib.c
@@ -12,11 +12,7 @@ int fib(int n)
int main(int argc, char ** argv)
{
int n, r;
-#ifdef __K1C_COS__
if (argc >= 2) n = atoi(argv[1]); else n = 26;
-#else
- if (argc >= 2) n = atoi(argv[1]); else n = 35;
-#endif
r = fib(n);
printf("fib(%d) = %d\n", n, r);
return 0;