[Ada] Unnesting: find local subps in nested stmt sequences
authorEd Schonberg <schonberg@adacore.com>
Tue, 31 Jul 2018 09:56:26 +0000 (09:56 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Tue, 31 Jul 2018 09:56:26 +0000 (09:56 +0000)
commit51f2fc7d760f66a0cd4842a2dad450a25dc70c21
tree01253f12605aad02d33eff3f2c4b62e13afb294c
parent6cdce5064b7e2c30beec8a99f1b19869f14398a7
[Ada] Unnesting: find local subps in nested stmt sequences

2018-07-31  Ed Schonberg  <schonberg@adacore.com>

gcc/ada

* exp_ch7.adb (Check_Unnesting_Elaboration_Code): To find local
subprograms in the elaboration code for a package body, recurse
through nested statement sequences because a compiler-generated
procedure may appear within a condition statement.

From-SVN: r263102
gcc/ada/ChangeLog
gcc/ada/exp_ch7.adb