diff options
Diffstat (limited to 'gcc/ada/s-taprop-lynxos.adb')
-rw-r--r-- | gcc/ada/s-taprop-lynxos.adb | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/gcc/ada/s-taprop-lynxos.adb b/gcc/ada/s-taprop-lynxos.adb index 06313ed5fdf..a9b4cbbb823 100644 --- a/gcc/ada/s-taprop-lynxos.adb +++ b/gcc/ada/s-taprop-lynxos.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 1992-2005, Free Software Foundation, Inc. -- +-- Copyright (C) 1992-2006, Free Software Foundation, Inc. -- -- -- -- GNARL 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- -- @@ -59,9 +59,6 @@ with Interfaces.C; -- used for int -- size_t -with System.Parameters; --- used for Size_Type - with Unchecked_Deallocation; package body System.Task_Primitives.Operations is @@ -869,15 +866,7 @@ package body System.Task_Primitives.Operations is use System.Task_Info; begin - if Stack_Size = Unspecified_Size then - Adjusted_Stack_Size := Interfaces.C.size_t (Default_Stack_Size); - - elsif Stack_Size < Minimum_Stack_Size then - Adjusted_Stack_Size := Interfaces.C.size_t (Minimum_Stack_Size); - - else - Adjusted_Stack_Size := Interfaces.C.size_t (Stack_Size); - end if; + Adjusted_Stack_Size := Interfaces.C.size_t (Stack_Size); if Stack_Base_Available then |