[Ada] Unnesting: improve handling of bounds for formal parameters
authorEd Schonberg <schonberg@adacore.com>
Mon, 11 Jun 2018 09:15:03 +0000 (09:15 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Mon, 11 Jun 2018 09:15:03 +0000 (09:15 +0000)
commitb516a1a96b625e6b2b1d5c4f6b48573a8481e9ac
treece9288444c5e4ad6f434fca621b6e46e0122f076
parent8c6fc01486ed9d26c80353f581675f735d1e8957
[Ada] Unnesting: improve handling of bounds for formal parameters

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

gcc/ada/

* exp_unst.adb (Visit_Node): Check reference to formal parameter of
current procedure, because the bounds of its type may be uplevel
references.

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