Landing: 811c4fd05109

Project / Subsystem

gcc / ada

Date

2025-12-16

Author

Denis Mazzucato

Commit

811c4fd05109827f4e9ef8c22c22b8340b6b4a7d

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
ada
patch_id
commit_hash
811c4fd05109827f4e9ef8c22c22b8340b6b4a7d
source_type
github
headline
Ada: Refactor assignments in constructor prologue.
tldr
The Ada compiler now uses a common routine for building component assignments in both constructor prologues and initialization procedures.
author
Denis Mazzucato
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • ada
  • refactor
  • constructors
discussion_id_link
bugzilla_pr
date
2025-12-16T00:00:00.000Z

The Ada compiler now uses the same routine, Build_Component_Assignment, for constructing component assignments in both constructor prologues and initialization procedures. This change promotes code reuse and consistency. As a result, previous attempts to fix assignments of limited types in constructor prologues are no longer necessary.