Landing: 82475d549ed7

Project / Subsystem

gcc / ada

Date

2026-02-09

Author

Eric Botcazou

Commit

82475d549ed72edb5ec79e0cad22234ac56b4786

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
ada
patch_id
commit_hash
82475d549ed72edb5ec79e0cad22234ac56b4786
source_type
github
headline
Fix internal error on access to function as component via limited with
tldr
This commit fixes an internal compiler error related to accessing functions as components via limited with clauses in Ada.
author
Eric Botcazou
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • ada
  • bugfix
  • compiler error
discussion_id_link
bugzilla_pr
date
2026-02-09T00:00:00.000Z

The Ada compiler previously triggered an internal error when accessing a function as a component through a limited with clause. The issue arose from a circularity in package specifications involving function calls via access-to-function types. This commit corrects the resolution of call entities, preventing the erroneous override of the Etype and resolving the internal error.