Landing: 49b7452c3111

Project / Subsystem

gcc / ada

Date

2026-03-01

Author

Bob Duff

Commit

49b7452c3111f68eb0b1dfca32349d19a87d67eb

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
ada
patch_id
commit_hash
49b7452c3111f68eb0b1dfca32349d19a87d67eb
source_type
github
headline
Rewrite Analyze_Aspect_Specifications for clarity.
tldr
This commit refactors the Analyze_Aspect_Specifications function in the Ada compiler, improving code clarity and removing unnecessary gotos.
author
Bob Duff
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • ada
  • refactor
  • compiler
  • semantic analysis
discussion_id_link
bugzilla_pr
date
2026-03-01T00:00:00.000Z

The Analyze_Aspect_Specifications function in the Ada compiler’s semantic analysis phase received a major rewrite to improve code clarity and maintainability. The changes include splitting out procedures, removing gratuitous gotos, and ensuring more uniform handling of aspects. Additionally, some aspects are now set to Never_Delay to avoid unnecessary delays, and a potential issue with skipped calls to Set_Aspect_On_Partial_View has been resolved.