[Ada] Fix related to handling up-level references in protected entries
authorGary Dismukes <dismukes@adacore.com>
Thu, 12 Dec 2019 10:03:30 +0000 (10:03 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Thu, 12 Dec 2019 10:03:30 +0000 (10:03 +0000)
commitca00cd02323d71e99cebf583c34b07e7fc56c716
tree6e65da29eb654353a56b4d42a45a94e62a257c9d
parentfbb076f4dab3541351e4b5ffd5a79099873adae0
[Ada] Fix related to handling up-level references in protected entries

2019-12-12  Gary Dismukes  <dismukes@adacore.com>

gcc/ada/

* exp_ch9.adb (Build_Protected_Entry): Set the Scope of the new
block to be the entity of the procedure created for the entry.

From-SVN: r279300
gcc/ada/ChangeLog
gcc/ada/exp_ch9.adb