From 9b0ac2ae937436c7704041013fd0d57b36aeff32 Mon Sep 17 00:00:00 2001 From: ivmai Date: Sun, 10 Apr 2011 09:13:47 +0000 Subject: [PATCH] 2011-04-10 Ivan Maidanski (mostly really Iain Sandoe) * tests/test.c (reverse_test): Modify count (BIG) for ppc64-darwin. --- ChangeLog | 7 ++++++- tests/test.c | 28 ++++++++++++---------------- 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/ChangeLog b/ChangeLog index d54087d..7a60edd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-04-10 Ivan Maidanski (mostly really Iain Sandoe) + + * tests/test.c (reverse_test): Modify count (BIG) for + ppc64-darwin. + 2011-04-09 Ivan Maidanski * reclaim.c (GC_print_all_errors): Recognize new GC_ABORT_ON_LEAK @@ -8,7 +13,7 @@ * doc/README.macros (FIND_LEAK, SUNOS5SIGS, PCR, USE_COMPILER_TLS): Reformat the text. -2011-04-09 Ivan Maidanski +2011-04-09 Ivan Maidanski (really Jie Liu) * os_dep.c (GC_unix_sbrk_get_mem, GC_unix_get_mem): Don't define for RTEMS. diff --git a/tests/test.c b/tests/test.c index d6e2fc8..654332e 100644 --- a/tests/test.c +++ b/tests/test.c @@ -536,23 +536,19 @@ void *GC_CALLBACK reverse_test_inner(void *data) # if /*defined(MSWIN32) ||*/ defined(MACOS) /* Win32S only allows 128K stacks */ # define BIG 1000 +# elif defined(PCR) + /* PCR default stack is 100K. Stack frames are up to 120 bytes. */ +# define BIG 700 +# elif defined(MSWINCE) + /* WinCE only allows 64K stacks */ +# define BIG 500 +# elif defined(OSF1) + /* OSF has limited stack space by default, and large frames. */ +# define BIG 200 +# elif defined(__MACH__) && defined(__ppc64__) +# define BIG 2500 # else -# if defined(PCR) - /* PCR default stack is 100K. Stack frames are up to 120 bytes. */ -# define BIG 700 -# else -# if defined(MSWINCE) - /* WinCE only allows 64K stacks */ -# define BIG 500 -# else -# if defined(OSF1) - /* OSF has limited stack space by default, and large frames. */ -# define BIG 200 -# else -# define BIG 4500 -# endif -# endif -# endif +# define BIG 4500 # endif A.dummy = 17; -- 2.7.4