[Ada] Fix inconsistent iteration with First_Formal and Next_Entity
authorPiotr Trojanek <trojanek@adacore.com>
Thu, 7 Jan 2021 11:14:42 +0000 (12:14 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 4 May 2021 09:17:34 +0000 (05:17 -0400)
commit86203b44de9b6a3394816207728155164ea2caa0
treee9767a73338e821d20fa937bf3e208692e54fbda
parent5a3070dff1aa805d425d97468ce6b817aa3156a3
[Ada] Fix inconsistent iteration with First_Formal and Next_Entity

gcc/ada/

* sem_ch12.adb (Check_Abstract_Primitives): Match First_Formal
with Next_Formal.
* sem_ch6.adb (Is_Non_Overriding_Operation): Likewise.
gcc/ada/sem_ch12.adb
gcc/ada/sem_ch6.adb