Mercurial > hg > CbC > CbC_gcc
diff gcc/ada/libgnat/s-parame.adb @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
line wrap: on
line diff
--- a/gcc/ada/libgnat/s-parame.adb Fri Oct 27 22:46:09 2017 +0900 +++ b/gcc/ada/libgnat/s-parame.adb Thu Oct 25 07:37:49 2018 +0900 @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 1995-2017, Free Software Foundation, Inc. -- +-- Copyright (C) 1995-2018, 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- -- @@ -50,34 +50,6 @@ end if; end Adjust_Storage_Size; - ---------------------------- - -- Default_Sec_Stack_Size -- - ---------------------------- - - function Default_Sec_Stack_Size return Size_Type is - Default_SS_Size : Integer; - pragma Import (C, Default_SS_Size, - "__gnat_default_ss_size"); - begin - -- There are two situations where the default secondary stack size is - -- set to zero: - -- - -- * The user sets it to zero erroneously thinking it will disable - -- the secondary stack. - -- - -- * Or more likely, we are building with an old compiler and - -- Default_SS_Size is never set. - -- - -- In both case set the default secondary stack size to the run-time - -- default. - - if Default_SS_Size > 0 then - return Size_Type (Default_SS_Size); - else - return Runtime_Default_Sec_Stack_Size; - end if; - end Default_Sec_Stack_Size; - ------------------------ -- Default_Stack_Size -- ------------------------