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

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

https://gcc.gnu.org/g:b015cc22bf492af22a912199a1ea93879bbfc5a7

commit r16-9467-gb015cc22bf492af22a912199a1ea93879bbfc5a7
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