[Ada] Make copies of entities being declared when copying block
authorRichard Kenner <kenner@adacore.com>
Wed, 21 Apr 2021 12:35:24 +0000 (08:35 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 29 Jun 2021 14:23:49 +0000 (14:23 +0000)
commit9a2c557b8ba4e33452a27219af1db83ec0cb7e0a
tree1bb7aff00007c8073685ecd80992ba57abb40430
parentba4b83c3e3bd44448a85e3771b91ae39421d9dd7
[Ada] Make copies of entities being declared when copying block

gcc/ada/

* sem_util.adb (Visit_Node): Add handling for N_Block_Statement
with declarations.
gcc/ada/sem_util.adb