diff options
author | Ronan Desplanques <desplanques@adacore.com> | 2024-03-25 10:12:17 +0100 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2024-05-20 09:47:03 +0200 |
commit | 37f4a6f2ac22b633191d02d90054b601a73c80fa (patch) | |
tree | 03b8ecb176723b23baa9b58d9c6cf26417d31c66 /gcc/ada/fe.h | |
parent | 727e7d69240d31215e0fcad9e91c1f67942e4500 (diff) | |
download | gcc-37f4a6f2ac22b633191d02d90054b601a73c80fa.zip gcc-37f4a6f2ac22b633191d02d90054b601a73c80fa.tar.gz gcc-37f4a6f2ac22b633191d02d90054b601a73c80fa.tar.bz2 |
ada: Fix incorrect free with Task_Info pragma
Before this patch, on Linux, the procedure
System.Task_Primitives.Operations.Set_Task_Affinity called CPU_FREE on
instances of cpu_set_t_ptr that it didn't own when the obsolescent
Task_Info pragma was in play. This patch fixes that issue.
gcc/ada/
* libgnarl/s-taprop__linux.adb (Set_Task_Affinity): Fix
decision about whether to call CPU_FREE.
Diffstat (limited to 'gcc/ada/fe.h')
0 files changed, 0 insertions, 0 deletions