[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Thu, 16 Jun 2016 10:23:06 +0000 (12:23 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Thu, 16 Jun 2016 10:23:06 +0000 (12:23 +0200)
commit5ed4ba1574be5f1f1b01672d38cbcb76c6951398
tree0f9afaa75aed3105925ee623852cc97bf9217723
parentc577adb24fdab2a324a9c60d612c00c8d03a30e4
[multiple changes]

2016-06-16  Justin Squirek  <squirek@adacore.com>

* sem_ch3.adb (Analyze_Object_Declaration): Add a missing check
for optimized aggregate arrays with qualified expressions.
* exp_aggr.adb (Expand_Array_Aggregate): Fix block and
conditional statement in charge of deciding whether to perform
in-place expansion. Specifically, use Parent_Node to jump over
the qualified expression to the object declaration node. Also,
a check has been inserted to skip the optimization if SPARK 2005
is being used in strict adherence to RM 4.3(5).

2016-06-16  Tristan Gingold  <gingold@adacore.com>

* sem_prag.adb (Analyze_Pragma): Simplify code
for Pragma_Priority.

From-SVN: r237514
gcc/ada/ChangeLog
gcc/ada/exp_aggr.adb
gcc/ada/sem_ch3.adb
gcc/ada/sem_prag.adb