]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Unnesting: improve handling of bounds for formal parameters
authorpmderodat <pmderodat@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Jun 2018 09:15:03 +0000 (09:15 +0000)
committerpmderodat <pmderodat@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 11 Jun 2018 09:15:03 +0000 (09:15 +0000)
commitc0b0e64701a9daba14d82bd59e1886cbe04316cb
treece9288444c5e4ad6f434fca621b6e46e0122f076
parent6176cf699da3bc2615ae9a478a2cdad66a8f3297
[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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@261394 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ada/ChangeLog
gcc/ada/exp_unst.adb