Landing: 10fcb9a8312d

Project / Subsystem

gcc / ada

Date

2026-05-18

Author

Piotr Trojanek

Commit

10fcb9a8312df124c5ac054719fab951aeea34b5

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
ada
patch_id
commit_hash
10fcb9a8312df124c5ac054719fab951aeea34b5
source_type
github
headline
Ada reuses Is_Rewrite_Substitution where possible
tldr
The Ada front end refactors code to consolidate checks using `Is_Rewrite_Substitution` for clarity.
author
Piotr Trojanek
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • ada
  • refactoring
  • compiler internals
discussion_id_link
bugzilla_pr
date
2026-05-18T00:00:00.000Z

This commit refactors parts of the Ada front end by replacing low-level inequality checks with calls to the higher-level Is_Rewrite_Substitution routine. This change is purely for code cleanup and does not alter the compiler’s behavior or generated code. It aims to improve the readability and maintainability of the Ada compiler’s internal logic.