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

--- Comment #8 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:a3d86afa13a910bd05317e9c73e08c999e16837d

commit r16-4518-ga3d86afa13a910bd05317e9c73e08c999e16837d
Author: Eric Botcazou <[email protected]>
Date:   Mon Oct 20 21:01:06 2025 +0200

    Ada: Fix Default_Component_Value aspect wrongly ignored on derived type

    This is again an old issue, which was mostly fixed a few releases ago
except
    for the specific case of an array type derived from String.

    gcc/ada/
            PR ada/68179
            * exp_ch3.adb (Expand_Freeze_Array_Type): Build an initialization
            procedure for a type derived from String declared with the aspect
            Default_Aspect_Component_Value.

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

Reply via email to