diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2015-01-05 16:13:06 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2015-01-05 16:13:06 +0000 |
commit | 24fa8749bba103b9258434fc2e3f9a1d99b64385 (patch) | |
tree | 9985b4dfd822a91e98fd20480e506ec267b7ddec /libgo | |
parent | 248d139137dc3063ebb63452f2be7ac1afdf4029 (diff) | |
download | gcc-24fa8749bba103b9258434fc2e3f9a1d99b64385.zip gcc-24fa8749bba103b9258434fc2e3f9a1d99b64385.tar.gz gcc-24fa8749bba103b9258434fc2e3f9a1d99b64385.tar.bz2 |
re PR go/61871 (FAIL: regexp from libgo testsuite on non-split stack targets)
PR go/61871
runtime: Increase stack size on 64-bit non-split-stack systems.
From Uros Bizjak.
From-SVN: r219192
Diffstat (limited to 'libgo')
-rw-r--r-- | libgo/runtime/proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/runtime/proc.c b/libgo/runtime/proc.c index 6270142..20fbc0a 100644 --- a/libgo/runtime/proc.c +++ b/libgo/runtime/proc.c @@ -50,7 +50,7 @@ extern void __splitstack_block_signals_context (void *context[10], int *, #if defined(USING_SPLIT_STACK) && defined(LINKER_SUPPORTS_SPLIT_STACK) # define StackMin PTHREAD_STACK_MIN #else -# define StackMin 2 * 1024 * 1024 +# define StackMin ((sizeof(char *) < 8) ? 2 * 1024 * 1024 : 4 * 1024 * 1024) #endif uintptr runtime_stacks_sys; |