[Ada] Expand more others aggregates statically
authorArnaud Charlet <charlet@adacore.com>
Sun, 1 Mar 2020 16:12:11 +0000 (11:12 -0500)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 9 Jun 2020 08:09:04 +0000 (04:09 -0400)
commitc42006e91e021ec222fd1a24d30eff38554f1d4c
tree58a1de59fb1e88479eafd1c3da50843e8f824fca
parent4228c32ab0b50e10e74ff53159894708471bcdbc
[Ada] Expand more others aggregates statically

2020-06-09  Arnaud Charlet  <charlet@adacore.com>

gcc/ada/

* exp_aggr.adb (Max_Aggregate_Size): New function to factorize
code.
(Convert_To_Positional, Aggr_Size_OK): Use Max_Aggregate_Size.
gcc/ada/exp_aggr.adb