diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-04-08 07:07:13 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-04-08 07:07:13 +0000 |
commit | 1609f94eb47dc3105e112b016ee9fe2109eb33a3 (patch) | |
tree | 1bbae54b05f757105f7dcc279eeb36b4821bea4d /gcc/ada | |
parent | 9041f5deeaede6b5bd0b01ce28402187f59cf520 (diff) | |
download | gcc-1609f94eb47dc3105e112b016ee9fe2109eb33a3.tar.gz |
(Minimum_Stack_Size): Increase value to 16K
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134075 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada')
-rw-r--r-- | gcc/ada/s-parame.adb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/ada/s-parame.adb b/gcc/ada/s-parame.adb index 67b0d4fb03d..2b9a5fe821f 100644 --- a/gcc/ada/s-parame.adb +++ b/gcc/ada/s-parame.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 1995-2005, Free Software Foundation, Inc. -- +-- Copyright (C) 1995-2008, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -73,8 +73,10 @@ package body System.Parameters is begin -- 12K is required for stack-checking to work reliably on most platforms -- when using the GCC scheme to propagate an exception in the ZCX case. + -- 16K is the value of PTHREAD_STACK_MIN under Linux, so is a reasonable + -- default. - return 12 * 1024; + return 16 * 1024; end Minimum_Stack_Size; end System.Parameters; |