diff options
Diffstat (limited to 'gcc/ada/5vtaprop.adb')
-rw-r--r-- | gcc/ada/5vtaprop.adb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/ada/5vtaprop.adb b/gcc/ada/5vtaprop.adb index 8603f8bdf95..fd6c98baefa 100644 --- a/gcc/ada/5vtaprop.adb +++ b/gcc/ada/5vtaprop.adb @@ -879,8 +879,7 @@ package body System.Task_Primitives.Operations is Free (Tmp); if Is_Self then - Result := pthread_setspecific (ATCB_Key, System.Null_Address); - pragma Assert (Result = 0); + Specific.Set (null); end if; end Finalize_TCB; |