[Ada] Handle Iterated_Component_Association with Others_Choice
authorEd Schonberg <schonberg@adacore.com>
Mon, 21 Sep 2020 15:54:09 +0000 (11:54 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 26 Oct 2020 08:59:17 +0000 (04:59 -0400)
commit02a8253980d04638085237915498acd04297fbbf
tree6f0950445bd23f6d410fb29858afceb870292355
parentfcae4f70cd2ccc91079df0e31d840dd43145b617
[Ada] Handle Iterated_Component_Association with Others_Choice

gcc/ada/

* exp_aggr.adb (Build_Array_Aggr_Code): If the aggregate
includes an Others_Choice in an association that is an
Iterated_Component_Association, generate a proper loop for it.
gcc/ada/exp_aggr.adb