aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem_spark.adb
diff options
context:
space:
mode:
authorEd Schonberg <schonberg@adacore.com>2019-07-09 07:53:35 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2019-07-09 07:53:35 +0000
commit93ba65d54c7d4e5f3dc4612c642a585dc274344e (patch)
treed010ae08ae7acc4b163a25cd69faec0fee584229 /gcc/ada/sem_spark.adb
parent9ae497cb69e5a944e29225a402883ad359d5c031 (diff)
downloadgcc-93ba65d54c7d4e5f3dc4612c642a585dc274344e.zip
gcc-93ba65d54c7d4e5f3dc4612c642a585dc274344e.tar.gz
gcc-93ba65d54c7d4e5f3dc4612c642a585dc274344e.tar.bz2
[Ada] Fix scopes for local variables in task/protected bodies
No impact on compilation with GCC. 2019-07-09 Ed Schonberg <schonberg@adacore.com> gcc/ada/ * sem_util.adb (Scope_Within_Or_Same): Handle properly task bodies and protected bodies, so that local variables within have their proper scopes after these constructs have been rewritten during expansion. This patch resembles but is not identical to the code in Scope_Within. From-SVN: r273269
Diffstat (limited to 'gcc/ada/sem_spark.adb')
0 files changed, 0 insertions, 0 deletions