Landing: 12a6c153f297

Project / Subsystem

gcc / ada

Date

2026-02-20

Author

Bob Duff

Commit

12a6c153f2972d802fbed141bac6fea9f59f3733

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
ada
patch_id
commit_hash
12a6c153f2972d802fbed141bac6fea9f59f3733
source_type
github
headline
Improve Aspect Specification Analysis
tldr
This commit cleans up and generalizes the `Analyze_Aspect_Specifications` procedure in the Ada compiler, in preparation for further improvements.
author
Bob Duff
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • ada
  • aspect specifications
  • refactor
  • cleanup
discussion_id_link
bugzilla_pr
date
2026-02-20T00:00:00.000Z

The Analyze_Aspect_Specifications procedure in the Ada compiler has been cleaned up to improve code readability and maintainability in preparation for future enhancements. The changes include correcting terminology, removing a potentially incorrect list of aspects, and generalizing the Insert_Pragma procedure (to be renamed in a future commit). The order of pragmas is now preserved using Ins_Node for Annotate but not for Compilation_Unit, marked for review.