Landing: cbaad5b1c122

Project / Subsystem

gcc / ada

Date

2026-03-24

Author

Eric Botcazou

Commit

cbaad5b1c122541f5e40f6f5bf6721e85a2e5654

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
ada
patch_id
commit_hash
cbaad5b1c122541f5e40f6f5bf6721e85a2e5654
source_type
github
headline
Fixes Crash During Unnesting With Qualified Bounds
tldr
Fixes a crash in the Ada compiler that occurred during unnesting when dealing with qualified bounds, specifically for package entities.
author
Eric Botcazou
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • ada
  • crash fix
  • unnesting
  • qualified bounds
discussion_id_link
bugzilla_pr
date
2026-03-24T00:00:00.000Z

This commit resolves a crash in the Ada compiler that occurred during the unnesting process when qualified bounds were present. The crash was due to accessing the Activation_Record_Component field for an E_Package entity, which does not contain this field. The fix prevents the compiler from attempting to access this invalid field for packages, resolving the crash.