> Such assignments to container aggregates are later transformed into
> procedure calls to the procedures named in the Aggregate aspect
> definition, for which the delayed expansion is not required/expected.
> 
> gcc/ada/
> 
>       * exp_aggr.adb (Convert_To_Assignments): Do not mark node for
>       delayed expansion if parent type has the Aggregate aspect.
>       * sem_util.adb (Is_Container_Aggregate): Move...
>       * sem_util.ads (Is_Container_Aggregate): ... here and make it
>       public.

This is not a regression but the problem is quite visible in Ada 2022 so I 
backported the fix onto the 13 branch.

-- 
Eric Botcazou


Reply via email to