[Ada] Properly set scope of artificial entities in blocks
commit5bb9ebcbc8270bcc08f955d196ad8c1bba003ec1
authorEd Schonberg <schonberg@adacore.com>
Tue, 21 Aug 2018 14:47:56 +0000 (21 14:47 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Tue, 21 Aug 2018 14:47:56 +0000 (21 14:47 +0000)
tree6579c6e3a52da85f0b57e02dcc31038e72a8243c
parent6989a2bbfa259633296bf1e9f278ea83c5345811
[Ada] Properly set scope of artificial entities in blocks

2018-08-21  Ed Schonberg  <schonberg@adacore.com>

gcc/ada/

* exp_ch9.adb (Expand_N_Timed_Entry_Call,
Expand_Conditional_Entry_Call): Use Reset_Scopes_Of to set
properly the scope of all entities created in blocks generated
by the expansion of these constructs.

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