[Ada] Spurious error in instance nested in formal package
authorEd Schonberg <schonberg@adacore.com>
Thu, 11 Jun 2020 15:34:26 +0000 (11:34 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 16 Jul 2020 09:18:14 +0000 (05:18 -0400)
commit875a00faca1e15e72aca02c323c0459b50d96b89
treeab6a11fa90dc436c4cc40e8c35f904033d6330f5
parent4c81868d073c493ca07d60b30dffc9a864304c77
[Ada] Spurious error in instance nested in formal package

gcc/ada/

* sem_ch12.adb (Load_Parent_Of_Generic): If an ancestor is an
instance whose source appears within a formal package of the
current unit, there is no body of the ancestor needed to
complete the current generic compilation.
gcc/ada/sem_ch12.adb