From ecc37585d11292a659944b37d3c549f0d005c0e0 Mon Sep 17 00:00:00 2001 From: Arnaud Charlet Date: Tue, 8 Apr 2008 09:07:13 +0200 Subject: [PATCH] (Minimum_Stack_Size): Increase value to 16K From-SVN: r134075 --- gcc/ada/s-parame.adb | 6 ++++-- 1 file 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; -- 2.30.2