[Bug ada/16095] Illegal program not detected, accessibility levels, RM 3.10.2(28)

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Feb 21 11:26:02 GMT 2026


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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
           Priority|P2                          |P3
   Target Milestone|---                         |11.0

--- Comment #8 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Fixed in GCC 11 and later:

p.adb:8:21: invalid operand types for operator "="
p.adb:8:21: left operand has type access to "T1" defined at line 8
p.adb:8:21: right operand has type access to "T1" defined at line 4


More information about the Gcc-bugs mailing list