diff options
| author | seyko <seyko2@gmail.com> | 2015-03-03 17:28:13 +0300 |
|---|---|---|
| committer | seyko <seyko2@gmail.com> | 2015-03-03 17:28:13 +0300 |
| commit | 43e4a406b4675cd312453697c7a19f2bd63c3b55 (patch) | |
| tree | 2dad9f7145db65577aaae68b0ce747011a0b9857 | |
| parent | 774f0611cc06ed4f35a44c4a58b88cc0d7831d33 (diff) | |
| download | tinycc-43e4a406b4675cd312453697c7a19f2bd63c3b55.tar.gz tinycc-43e4a406b4675cd312453697c7a19f2bd63c3b55.tar.bz2 | |
Disable floating-point test for ARM soft-float
From: Matteo Cypriani <mcy@lm7.fr>
Date: Fri, 5 Sep 2014 23:22:56 -0400
Subject: Disable floating-point test for ARM soft-float
tcc is not yet capable of doing softfloat floating-point operations on
ARM, therefore we disable this test for these platforms. Note that tcc
displays a warning to warn ARM users about this limitation
(debian)
| -rw-r--r-- | tests/tcctest.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/tcctest.c b/tests/tcctest.c index 30c9518..49fa587 100644 --- a/tests/tcctest.c +++ b/tests/tcctest.c @@ -1760,6 +1760,7 @@ double ftab1[3] = { 1.2, 3.4, -5.6 }; void float_test(void) { +#if !defined(__arm__) || defined(__ARM_PCS_VFP) float fa, fb; double da, db; int a; @@ -1785,6 +1786,7 @@ void float_test(void) b = 4000000000; db = b; printf("db = %f\n", db); +#endif } int fib(int n) |
