[Bug ada/124369] [13/14/15 regression] missing error for dangling pointer from access discriminant

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 12 17:39:24 GMT 2026


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
   Target Milestone|13.5                        |16.0
         Resolution|---                         |FIXED
            Summary|[13/14/15/16 regression]    |[13/14/15 regression]
                   |missing error for dangling  |missing error for dangling
                   |pointer from access         |pointer from access
                   |discriminant                |discriminant

--- Comment #6 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Fixed on the mainline in the default case (the No_Dynamic_Accessibility_Checks
case has never worked).  Too delicate to backport on release branches.


More information about the Gcc-bugs mailing list