[Ada] Better code generation for nested aggregates
authorJavier Miranda <miranda@adacore.com>
Mon, 10 Feb 2020 22:12:32 +0000 (17:12 -0500)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 8 Jun 2020 07:50:58 +0000 (03:50 -0400)
commit176de683776a26f97ba8fa4189ce953886753c18
tree5157176ea19ade6537a66a8cf4f09329205e9f78
parentc382d0712fba76b6fce4a9aadc5a4487fad7efaf
[Ada] Better code generation for nested aggregates

2020-06-08  Javier Miranda  <miranda@adacore.com>

gcc/ada/

* exp_aggr.adb (Safe_Component): Remove code that considers as
unsafe components that are aggregates; such removal allows the
frontend to proceed and evaluate if they are safe by means of
invoking Safe_Aggregate.
gcc/ada/exp_aggr.adb