[Ada] Fix expansion of delta aggregates with slices
authorPiotr Trojanek <trojanek@adacore.com>
Sun, 10 May 2020 19:12:33 +0000 (21:12 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 7 Jul 2020 09:26:54 +0000 (05:26 -0400)
commitc78efe921c1fab590293476ae9910e1bb5b090c4
treec4e454e22d9a39a6b6e25bef5e3844ca3e02aa06
parentdab6432039b8a92acd2bf4490771c9f5b347c005
[Ada] Fix expansion of delta aggregates with slices

gcc/ada/

* exp_aggr.adb (Expand_N_Delta_Aggregate): Use type of the delta
base expression for the anonymous object of the delta aggregate.
gcc/ada/exp_aggr.adb