Landing: a8372ce676a2

Project / Subsystem

gcc / ada

Date

2026-01-08

Author

Eric Botcazou

Commit

a8372ce676a2394285927ec69b46f8ef31cc4181

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
ada
patch_id
commit_hash
a8372ce676a2394285927ec69b46f8ef31cc4181
source_type
github
headline
Fix endless loop when using Address aspect with dynamic addresses.
tldr
The compiler no longer enters an infinite loop when freezing objects with dynamic addresses.
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-08T00:00:00.000Z

The freezing machinery was inserting a freeze node into its own Actions list, causing Expand_N_Freeze_Entity to enter an endless loop. This commit fixes the logic in Remove_Init_Call to properly identify the initialization call, preventing the infinite loop. This bug occurred when using the Address aspect for objects with dynamic addresses.