https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89609
--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Marc Poulhies <[email protected]>: https://gcc.gnu.org/g:82475d549ed72edb5ec79e0cad22234ac56b4786 commit r17-787-g82475d549ed72edb5ec79e0cad22234ac56b4786 Author: Eric Botcazou <[email protected]> Date: Mon Feb 9 09:09:36 2026 +0100 ada: Fix internal error on access to function as component via limited with The code generator cannot translate the specification of a package because it contains a circularity created by the presence of a limited_with clause for it in a withed package, and of a function call made through an access- to-function type declared in the latter package returning a type declared in the former package. gcc/ada/ChangeLog: PR ada/89609 * sem_res.adb (Resolve_Call): Do not override the Etype of the Name entity when it denotes a function that returns the limited view of a type coming from a limited_with clause.
