[Ada] Implementation of AI12-0212: iterator specs in array aggregates (II)
authorEd Schonberg <schonberg@adacore.com>
Wed, 11 Aug 2021 16:52:29 +0000 (12:52 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 1 Oct 2021 06:13:37 +0000 (06:13 +0000)
commit8b1a5da38e00348dfc359ef8418de344356ef78e
tree5a55950de3fdcf86dded4cc8f708c13a8a4f227b
parent475e1d240086365da3e240fb9199eb1c5ad511f8
[Ada] Implementation of AI12-0212: iterator specs in array aggregates (II)

gcc/ada/

* exp_aggr.adb (Expand_Array_Aggregate,
Two_Pass_Aggregate_Expansion): Increment index for element
insertion within the loop, only if upper bound has not been
reached.
gcc/ada/exp_aggr.adb