[Ada] Unnesting: properly handle subprogram instantiations
authorEd Schonberg <schonberg@adacore.com>
Wed, 30 May 2018 08:56:29 +0000 (08:56 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Wed, 30 May 2018 08:56:29 +0000 (08:56 +0000)
commit5d5148841e6b19d143273d5474b24f9dadc34776
treea30469117c846bb073f7c71f624ea5f6ace4efb1
parent1df65b8982b0b941a3d6ac1e84437fff08e3462c
[Ada] Unnesting: properly handle subprogram instantiations

2018-05-30  Ed Schonberg  <schonberg@adacore.com>

gcc/ada/

* exp_unst.adb (Visit_Node): Handle properly subprogram instantiations
that have no corresponding body and appear as attributes of the
corresponding wrapper package declaration.
(Register_Subprogram): New subprogram, used for subprogram bodies and
for subprogram instantiations to enter callable entity into Subp table.

From-SVN: r260925
gcc/ada/ChangeLog
gcc/ada/exp_unst.adb