Landing: edc868bc73f4

Project / Subsystem

gcc / ada

Date

2026-04-30

Author

Eric Botcazou

Commit

edc868bc73f4b8ab076a8a87749a3f33326cfd5f

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
ada
patch_id
commit_hash
edc868bc73f4b8ab076a8a87749a3f33326cfd5f
source_type
github
headline
Ada: Fix spurious error on primitive function of tagged task type
tldr
The Ada compiler no longer incorrectly reports an error related to the controlling result subtype in primitive functions of tagged task types.
author
Eric Botcazou
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • ada
  • bugfix
  • tagged types
  • tasking
discussion_id_link
bugzilla_pr
date
2026-04-30T00:00:00.000Z

The Ada compiler has been fixed to avoid a spurious error when dealing with primitive functions of tagged task types. The issue stemmed from an internal confusion regarding the subtype of the controlling result. The fix involves applying the same processing to the result subtype as is applied to the parameter subtypes. A new test case has been added to verify the fix.