https://gcc.gnu.org/g:19f16a468143046b77691f75d5859abf6ece2e69
commit r16-8993-g19f16a468143046b77691f75d5859abf6ece2e69 Author: Ronan Desplanques <[email protected]> Date: Mon Jan 26 15:55:55 2026 +0100 ada: Fix wrong comments Unlike what the comments said, most reserved interrupts are not masked since they also belong to Keep_Unmasked. gcc/ada/ChangeLog: * libgnarl/s-interr.adb (Interrupt_Manager, Server_Task): Fix comments. Diff: --- gcc/ada/libgnarl/s-interr.adb | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/gcc/ada/libgnarl/s-interr.adb b/gcc/ada/libgnarl/s-interr.adb index a65c3f5a940a..d3f1fa1b7dc9 100644 --- a/gcc/ada/libgnarl/s-interr.adb +++ b/gcc/ada/libgnarl/s-interr.adb @@ -953,9 +953,8 @@ package body System.Interrupts is end; end Initialize; - -- Note: All tasks in RTS will have all the Reserve Interrupts being - -- masked (except the Interrupt_Manager) and Keep_Unmasked unmasked - -- when created. + -- Note: All tasks in RTS will have all the Keep_Unmasked interrupts + -- unmasked when created. -- Abort_Task_Interrupt is one of the Interrupt unmasked in all tasks. -- We mask the Interrupt in this particular task so that "sigwait" is @@ -1240,9 +1239,8 @@ package body System.Interrupts is IMOP.Install_Default_Action (IMNG.Interrupt_ID (Interrupt)); - -- Note: All tasks in RTS will have all the Reserve Interrupts being - -- masked (except the Interrupt_Manager) and Keep_Unmasked unmasked when - -- created. + -- Note: All tasks in RTS will have all the Keep_Unmasked interrupts + -- unmasked when created. -- Abort_Task_Interrupt is one of the Interrupt unmasked in all tasks. -- We mask the Interrupt in this particular task so that "sigwait" is
