[Ada] Analyze aspects once generic subprograms are recognized
authorPiotr Trojanek <trojanek@adacore.com>
Thu, 14 May 2020 10:11:52 +0000 (12:11 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 8 Jul 2020 14:55:53 +0000 (10:55 -0400)
commit6b52c24dd1870aff68879bd68a67fdb14f7e5cba
tree9c5518e23b797d89938e7a9110130ed6103e2309
parentcf6bd6a3ef104abb96095c5d78bffed1a95896f5
[Ada] Analyze aspects once generic subprograms are recognized

gcc/ada/

* sem_ch12.adb (Analyze_Generic_Subprogram_Declaration): Call
Analyze_Aspect_Specifications after setting Ekind of the
analyzed entity.
* sem_ch13.adb (Analyze_Aspect_Yield): Remove minimal decoration
of generic subprograms.
gcc/ada/sem_ch12.adb
gcc/ada/sem_ch13.adb