Landing: 497056dcb06f

Project / Subsystem

gcc / ada

Date

2026-09-29

Author

Eric Botcazou

Commit

497056dcb06fbf23006b583eb9a94a7b6c48facc

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
ada
patch_id
—
commit_hash
497056dcb06fbf23006b583eb9a94a7b6c48facc
source_type
github
headline
Ada: Replace uses of Is_Limited_Type by Is_Inherently_Limited_Type
tldr
Ensures consistent use of type limit checking in Ada aggregate expansion.
author
Eric Botcazou
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • ada
  • • compiler refactor
discussion_id_link
—
bugzilla_pr
—
date
2026-09-29T00:00:00.000Z

This commit updates the Ada compiler’s aggregate expansion logic to consistently use Is_Inherently_Limited_Type instead of Is_Limited_Type. This change aligns the checks for whether a type is limited with the expander’s existing mechanism for deciding when to use the build-in-place optimization for aggregates.