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

Clean up aspects vs. pragmas in the Ada compiler

This commit cleans up minor inconsistencies and improves comments related to aspects and pragmas in the Ada compiler.

This commit performs minor cleanups and comment fixes related to aspects and pragmas in the Ada compiler. It ensures that Aspect_Initialize is correctly included in Implementation_Defined_Aspect and corrects minor inaccuracies in comments throughout the code.

In Details

This commit touches several files including aspects.ads, einfo.ads, sem.adb, sem_ch13.ads, sem_prag.adb, and sinfo.ads, focusing on minor corrections and adjustments related to aspects and pragmas. It addresses an initialization issue with Aspect_Initialize and improves the accuracy of comments.

For Context

In Ada, aspects and pragmas are used to provide additional information or instructions to the compiler. Aspects are a more modern feature, offering a standardized way to extend the language. Pragmas are older, compiler-specific directives. This commit tidies up the code around how aspects and pragmas are handled, fixing minor inconsistencies and clarifying comments to improve code readability.

Filed Under: adacleanupaspectspragmas