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

--- Comment #6 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:3f57fe8cc686317b22b32e0c77b7c2eddae022cb

commit r17-2875-g3f57fe8cc686317b22b32e0c77b7c2eddae022cb
Author: Eric Botcazou <[email protected]>
Date:   Sat Aug 1 18:44:12 2026 +0200

    Ada: Fix crash on Unchecked_Union component with -gnateV

    This is the same bug as PR ada/123857, but at a nested level, and the fix
    is the same 1-liner but at a different place.

    gcc/ada/
            PR ada/126553
            * exp_attr.adb (Build_Record_VS_Func.Validate_Field): Do nothing
            if the field is of an Unchecked_Union type.

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

Reply via email to