https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126482
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2026-07-30
Status|UNCONFIRMED |NEW
Summary|Weird error messages with |bogus error for
|Unrestricted_Access. |'Unrestricted_Access of
| |overloaded subprogram
Ever confirmed|0 |1
CC| |ebotcazou at gcc dot gnu.org
--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
The compiler is confused and the code should probably be accepted (although
using 'Unrestricted_Access on subprograms is strongly discouraged).