Landing: 73659413d445

Project / Subsystem

gcc / ada

Date

2026-03-10

Author

Eric Botcazou

Commit

73659413d445b16accc64c28df404945f2ac157f

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
ada
patch_id
commit_hash
73659413d445b16accc64c28df404945f2ac157f
source_type
github
headline
Ada: Fix iterator for Iterable aspect rejected without subtype indication.
tldr
The Ada compiler now correctly handles iterators for the Iterable aspect even when a subtype isn't explicitly specified.
author
Eric Botcazou
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • ada
  • iterators
  • aspects
  • bugfix
discussion_id_link
bugzilla_pr
date
2026-03-10T00:00:00.000Z

The Ada compiler now correctly parses iterator specifications for the Iterable aspect when the In form lacks a subtype indication. This fixes a bug where the compiler overlooked the GNAT Iterable aspect in such cases. This allows for more flexible and correct use of iterators with the Iterable aspect.