[Ada] Ignore container types for aggregates if not in Ada_2020
authorEd Schonberg <schonberg@adacore.com>
Wed, 2 Sep 2020 13:30:09 +0000 (09:30 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 23 Oct 2020 08:24:54 +0000 (04:24 -0400)
commit294e16b4e7ef586619b92bf0f109448e7de31c6e
tree500c842bef7061bf61dfeee7bb72803357e8ee42
parent99d4c1b09bb902c59e9cdec56a09d3e7761b0d00
[Ada] Ignore container types for aggregates if not in Ada_2020

gcc/ada/

* sem_aggr.adb (Resolve_Aggregate): Do not call
Resolve_Container_Aggregate if compilation version is earlier
than Ada_2020.
gcc/ada/sem_aggr.adb