projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
248d139
)
re PR go/61871 (FAIL: regexp from libgo testsuite on non-split stack targets)
author
Ian Lance Taylor
<ian@gcc.gnu.org>
Mon, 5 Jan 2015 16:13:06 +0000
(16:13 +0000)
committer
Ian Lance Taylor
<ian@gcc.gnu.org>
Mon, 5 Jan 2015 16:13:06 +0000
(16:13 +0000)
PR go/61871
runtime: Increase stack size on 64-bit non-split-stack systems.
From Uros Bizjak.
From-SVN: r219192
libgo/runtime/proc.c
patch
|
blob
|
history
diff --git
a/libgo/runtime/proc.c
b/libgo/runtime/proc.c
index 6270142ea9f7894fdbb84bd7df5149615a28a9e5..20fbc0a618290e36b014ef9df9b449302ba4cf6e 100644
(file)
--- 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;