Landing: a0cf00f7e459

Project / Subsystem

gcc / ada

Date

2026-09-29

Author

Eric Botcazou

Commit

a0cf00f7e45909a2b9eee2963def21af007f941e

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
ada
patch_id
—
commit_hash
a0cf00f7e45909a2b9eee2963def21af007f941e
source_type
github
headline
Ada: Fix fallout of recent change to handling of static aggregates
tldr
Resolves issues with aggregate expansion for multi-dimensional arrays and constants.
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-09-29T00:00:00.000Z

This commit fixes two issues that emerged after recent changes to static aggregate handling in the Ada compiler. It corrects the duplication of elements in multi-dimensional array aggregates with ‘others’ choices and ensures that constants with static array aggregate values retain the correct dynamic subtype. The changes also refine the aggregate expansion machinery.