[Ada] Incorrect discriminant check on call to access to subprogram
authorArnaud Charlet <charlet@adacore.com>
Tue, 8 Dec 2020 13:16:45 +0000 (08:16 -0500)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 28 Apr 2021 09:38:03 +0000 (05:38 -0400)
commitdf5f901ce89cdbf73ae827ee528da776cbcacfac
tree2e141ce7d920fa05a685e7f429a00357a778e5d9
parent4ba1f7f65b46c1f0e0143ec982a62e6bd9a3ef2e
[Ada] Incorrect discriminant check on call to access to subprogram

gcc/ada/

* exp_ch6.adb: Fix typo in comment.
* sem_ch3.adb (Access_Subprogram_Declaration): Add missing call
to Create_Extra_Formals. Remove obsolete bootstrap check.
* sem_eval.adb (Eval_Selected_Component): Simplify a
selected_component on an aggregate.
gcc/ada/exp_ch6.adb
gcc/ada/sem_ch3.adb
gcc/ada/sem_eval.adb