From 899d26605c5276964ac2ae1f8238a75a5afeb480 Mon Sep 17 00:00:00 2001 From: grischka Date: Tue, 6 May 2014 18:24:41 +0200 Subject: Revert "update static void parse_number()" because: - Constructing fp numbers isn't quite trivial - 3 additional calls to strchr per number is noticeable slow Also: exclude abitest.c:ret_longdouble_test2 on _WIN32 for mixed gcc/tcc scenario test case: - make -k test (on win32): -2.120000 0.500000 23000000000.000000 +2.120000 0.500000 22999999999.999996 ... ret_longdouble_test2... failure This reverts 857f7dbfa65179e6690dbee7ab915fb4458cee11 and deaee6c2496ecb25858290405fef8ef79aece979 --- tests/abitest.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') diff --git a/tests/abitest.c b/tests/abitest.c index 3ad707a..e2978b0 100644 --- a/tests/abitest.c +++ b/tests/abitest.c @@ -486,7 +486,10 @@ int main(int argc, char **argv) { RUN_TEST(ret_2float_test); RUN_TEST(ret_2double_test); RUN_TEST(ret_longlong_test2); +#if !defined _WIN32 || !defined __GNUC__ + /* on win32, 'long double' is 10-byte with gcc, but is 'double' with tcc/msvc */ RUN_TEST(ret_longdouble_test2); +#endif RUN_TEST(reg_pack_test); RUN_TEST(reg_pack_longlong_test); RUN_TEST(sret_test); -- cgit v1.3.1