[Ada] Unnesting: allow uplevel references to exceptions
commit6af9261c73519a4c3e1a26376dc0b156ecd4aad6
authorEd Schonberg <schonberg@adacore.com>
Mon, 28 May 2018 08:55:57 +0000 (28 08:55 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Mon, 28 May 2018 08:55:57 +0000 (28 08:55 +0000)
tree10baa5298e6320034dce95205e518d76fb623ec8
parentbcad5029a8e4977013d7fadc133f22fbdf8dd99d
[Ada] Unnesting: allow uplevel references to exceptions

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

gcc/ada/

* einfo.ads, einfo.adb: Exceptions can be uplevel references, and thus
they can appear as components of activation records.
* exp_unst.adb (Visit_Node): A reference to an exception may be an
uplevel reference.

From-SVN: r260840
gcc/ada/ChangeLog
gcc/ada/einfo.adb
gcc/ada/einfo.ads
gcc/ada/exp_unst.adb