[Ada] Adjust heuristics about size of static aggregates
authorBob Duff <duff@adacore.com>
Tue, 9 Jun 2020 23:04:56 +0000 (19:04 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 16 Jul 2020 09:18:10 +0000 (05:18 -0400)
commiteaf6e63a647b8604de960d2fa992c7dd57a5d553
treee8787ac833c1f8a88074e1aab8f9a449bd6e333a
parentf7a8be8a1919661122a8ac87c595e1267a1ee3d5
[Ada] Adjust heuristics about size of static aggregates

gcc/ada/

* exp_aggr.adb (Max_Aggregate_Size): Use the small size of 64
when copying is needed (for example, for the initialization of a
local variable, and for assignment statements). Use the larger
size when static allocation can be done without copying.
gcc/ada/exp_aggr.adb