Landing: 349bc1598e92

Project / Subsystem

gcc / ada

Date

2026-01-28

Author

Javier Miranda

Commit

349bc1598e92c1885cbc3113e86fff732ba9234b

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
ada
patch_id
commit_hash
349bc1598e92c1885cbc3113e86fff732ba9234b
source_type
github
headline
Fix crash when using address clause on declare-expression constant
tldr
This commit fixes a crash in the Ada compiler that occurred when using an address clause on a constant defined within a declare-expression.
author
Javier Miranda
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • ada
  • crash
  • bugfix
discussion_id_link
bugzilla_pr
date
2026-01-28T00:00:00.000Z

This commit resolves a crash in the Ada compiler triggered by using an address clause on a constant declared within a declare-expression. The fix involves associating a scope link with N_Expression_With_Actions nodes and properly managing the scope during resolution, preventing improper visibility of the declared items.