[Ada] Unnesting: look for specification of main unit
authorEd Schonberg <schonberg@adacore.com>
Wed, 30 May 2018 08:56:49 +0000 (08:56 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Wed, 30 May 2018 08:56:49 +0000 (08:56 +0000)
commit8ed508fe7fce89d1798a3cabf227d3e1c1d5cf85
tree0b767803d8dd387388ad3b0f326cfe8fe50d701a
parent86f3285755adabb3556eb35bfce5ec9846c524b6
[Ada] Unnesting: look for specification of main unit

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

gcc/ada/

* exp_unst.adb: Search specification of main unit as well, for
unnesting.

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