Landing: 22dc1d1b1071

Project / Subsystem

gcc / ada

Date

2026-08-24

Author

Eric Botcazou

Commit

22dc1d1b10712141447e0b422bfbe8b52c834e44

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
ada
patch_id
—
commit_hash
22dc1d1b10712141447e0b422bfbe8b52c834e44
source_type
github
headline
Ada compiler fixes array aggregate assignment to unconstrained formal parameters.
tldr
Ada compiler regression fixed for sliding array aggregates assigned to unconstrained formal parameters.
author
Eric Botcazou
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • ada
  • • compiler
  • • regression
  • • array
  • • assignment
discussion_id_link
—
bugzilla_pr
—
date
2026-08-24T00:00:00.000Z

A regression in the Ada compiler that caused a failure when assigning an array aggregate to an unconstrained formal parameter has been fixed. The compiler previously failed to implement the necessary ‘sliding’ due to an incorrect predicate that only considered object declarations. This update ensures correct handling of such assignments across multiple GCC branches.