[Ada] Ada_2020 AI12-0250: Iterator filters in Iterated_Element_Assocations
authorEd Schonberg <schonberg@adacore.com>
Sun, 23 Aug 2020 19:01:15 +0000 (15:01 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 22 Oct 2020 12:11:25 +0000 (08:11 -0400)
commitdaaf017932882f96a6572622766c2975dcc93819
tree57616da8e46a9402ad851ad6338df7410fd115a9
parente354dca60268ea14f3b20fb865b23e27af751022
[Ada] Ada_2020 AI12-0250: Iterator filters in Iterated_Element_Assocations

gcc/ada/

* par-ch4.adb (P_Iterated_Component_Association): If the
construct includes an iterator filter it corresponds to an
Iterated_Element_Association, so build the proper node for it.
* exp_aggr.adb (Expand_Container_Aggregate, Aggregate_Size): If
the component is an Iterated_Element_Association, treat it as
having a non-static size.
gcc/ada/exp_aggr.adb
gcc/ada/par-ch4.adb