diff options
author | Ed Schonberg <schonberg@adacore.com> | 2018-07-16 14:12:18 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2018-07-16 14:12:18 +0000 |
commit | 4aba11eeb36ea84d768eaaf7d0e2c49742f88cd8 (patch) | |
tree | bcc0711d6c266d1a3a035c7dfa25e0e6eaa5d4e8 /gcc/ada/contracts.adb | |
parent | afe9c53918d14a5ef8807ea4284512dd94e4c15d (diff) | |
download | gcc-4aba11eeb36ea84d768eaaf7d0e2c49742f88cd8.zip gcc-4aba11eeb36ea84d768eaaf7d0e2c49742f88cd8.tar.gz gcc-4aba11eeb36ea84d768eaaf7d0e2c49742f88cd8.tar.bz2 |
[Ada] Fix expansion of blocks in loops inside elaboration code
2018-07-16 Ed Schonberg <schonberg@adacore.com>
gcc/ada/
* exp_ch7.adb (Check_Unnesting_Elaboration_Code): Handle loops that
contain blocks in the elaboration code for a package body. Create the
elaboration subprogram wrapper only if there is a subprogram
declaration in a block or loop.
From-SVN: r262728
Diffstat (limited to 'gcc/ada/contracts.adb')
0 files changed, 0 insertions, 0 deletions