[Ada] Unnesting: fix handling of stubs
authorEd Schonberg <schonberg@adacore.com>
Mon, 11 Jun 2018 09:17:24 +0000 (09:17 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Mon, 11 Jun 2018 09:17:24 +0000 (09:17 +0000)
commit345bb755ae64b123f1cd5df9ed9b1be4f44c6f39
tree55a17b83e03db422f29bbba9ab42770755703944
parent81b6ae1eabba39429cf94dbdae86614aafa7b960
[Ada] Unnesting: fix handling of stubs

2018-06-11  Ed Schonberg  <schonberg@adacore.com>

gcc/ada/

* exp_unst.adb (Search_Subprograms): Handle explicitly stubs at the top
level of a compilation unit, becuase they may contain nested
subprograms that need an activation record.

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