Landing: 503b879d97f0

Project / Subsystem

gcc / ada

Date

2026-01-18

Author

Eric Botcazou

Commit

503b879d97f08f842afd09f1d29cb03dfab55d8b

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
ada
patch_id
commit_hash
503b879d97f08f842afd09f1d29cb03dfab55d8b
source_type
github
headline
Ada: Freezing change for expression functions requires fix
tldr
Reverts part of a change that unnecessarily prevented the profile of dispatching operations from being frozen by their subprogram body.
author
Eric Botcazou
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • ada
  • compiler
  • bugfix
discussion_id_link
bugzilla_pr
date
2026-01-18T00:00:00.000Z

A recent change to freeze tagged types referenced in expression functions had unintended side effects. The change prevented the profile of all dispatching operations from being frozen by their subprogram body, which exposed a weakness in the implementation of freezing for generic units. This commit reverts that specific part of the freezing change to address the issue.