GCC Newspaper
JUNE 15, 2026
Date
/
Architectures
Components
Topics
News & Policy
Other
ada

Fixes wrong comments in Ada runtime library

Fixes misleading comments in the Ada runtime library regarding masked interrupts.

This commit corrects inaccurate comments in the Ada runtime library (GNARL) concerning interrupt masking. The comments incorrectly stated that most reserved interrupts are not masked; the code reveals that reserved interrupts also belong to Keep_Unmasked.

In Details

This commit addresses comments in libgnarl/s-interr.adb concerning the Interrupt_Manager and Server_Task. The comments incorrectly described the masking of reserved interrupts. This fix ensures the comments accurately reflect the actual behavior of the interrupt handling logic.

For Context

In Ada, interrupts are signals that can cause the processor to immediately stop its current task and handle a specific event. The Ada runtime environment manages these interrupts, including which interrupts are masked (ignored) or unmasked (handled). This commit fixes misleading comments that describe interrupt handling in the Ada runtime library, improving code maintainability.

Filed Under: adagnarlinterruptscomments