https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126482

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Eric Botcazou <[email protected]>:

https://gcc.gnu.org/g:04f9f5a40c2e11a49c8fff64b90f5cd042fbdcc3

commit r17-2832-g04f9f5a40c2e11a49c8fff64b90f5cd042fbdcc3
Author: Eric Botcazou <[email protected]>
Date:   Thu Jul 30 18:29:51 2026 +0200

    Ada: Fix bogus error for 'Unrestricted_Access of overloaded subprogram

    This plugs an old loophole in Analyze_Attribute for the handling of the
    GNAT specific Unrestricted_Access attribute.

    gcc/ada/
            PR ada/126482
            * sem_attr.adb (Analyze_Attribute): Treat Unrestricted_Access like
            [Unchecked_]Access when it comes to the overloading of the prefix.

Reply via email to