[Ada] Improved support for aspect alignment in CCG
authorJavier Miranda <miranda@adacore.com>
Thu, 26 Dec 2019 20:29:24 +0000 (15:29 -0500)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 2 Jun 2020 08:58:22 +0000 (04:58 -0400)
commite09092000a8ad3e28639a15ee4bca77e4b1edbdf
tree1b9b627cc05c09b4f822e39e3b3fa26958d63298
parentb60be63da23e0db9435e8620fab9edd531e4ed6b
[Ada] Improved support for aspect alignment in CCG

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

gcc/ada/

* sem_ch3.adb (Analyze_Object_Declaration): Set attribute
Expansion_Delayed on aggregates that initialize an object that
has aspect alignment or address clause. Done to allow ther
initialization by means of multiple assignments.
* exp_ch3.adb (Expand_N_Object_Declaration): Resolve delayed
aggregates. This patch complements the patch applied to
sem_ch3.adb
gcc/ada/exp_ch3.adb
gcc/ada/sem_ch3.adb