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

--- Comment #4 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:e10dc5147b6f35523c8357dae57ae519e7016693

commit r17-4954-ge10dc5147b6f35523c8357dae57ae519e7016693
Author: Eric Botcazou <[email protected]>
Date:   Wed Oct 7 13:05:14 2026 +0200

    Ada: Fix missing internal finalization of protected object

    This occurs when the type of the protected object is a constrained subtype
    of an unconstrained protected type, and comes from an obsolete kludge.

    gcc/ada/
            PR ada/127756
            * exp_util.adb (Find_Protection_Type): Remove early return.

    gcc/testsuite/
            * gnat.dg/protected_subtype2.adb: New test.

Reply via email to