[Ada] Wrong error on hidden must-override primitive
authorBob Duff <duff@adacore.com>
Wed, 18 Dec 2019 07:14:13 +0000 (07:14 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Wed, 18 Dec 2019 07:14:13 +0000 (07:14 +0000)
commitaf552cd02f23d3aa90268f0d91008545d4d8ddd2
tree21af08933d26849e58cf76660f3eb811226e3295
parent4f691cb20d7a83dc332ae538f23fcae14a07522d
[Ada] Wrong error on hidden must-override primitive

2019-12-18  Bob Duff  <duff@adacore.com>

gcc/ada/

* sem_ch3.adb (Derive_Subprogram): Do not set the
Requires_Overriding flag in the above-mentioned case.

From-SVN: r279505
gcc/ada/ChangeLog
gcc/ada/sem_ch3.adb