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

--- Comment #10 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-15 branch has been updated by Eric Botcazou
<[email protected]>:

https://gcc.gnu.org/g:8304ea8ecf9c4b10b4a901488e8c82dc5b158cf6

commit r15-10702-g8304ea8ecf9c4b10b4a901488e8c82dc5b158cf6
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