aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/debug.adb
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2023-06-12 09:52:42 +0200
committerMarc Poulhiès <poulhies@adacore.com>2023-06-27 14:05:50 +0200
commit1f8d6836261e0089454277d79b1d2ae2f940746b (patch)
treea8bc3da0666519a280b3671ae2f1b3dc85c1ede0 /gcc/ada/debug.adb
parent125a2260ce07e384238f8569c77d07c56762d39c (diff)
downloadgcc-1f8d6836261e0089454277d79b1d2ae2f940746b.zip
gcc-1f8d6836261e0089454277d79b1d2ae2f940746b.tar.gz
gcc-1f8d6836261e0089454277d79b1d2ae2f940746b.tar.bz2
ada: Plug small loophole in the handling of private views in instances
This deals with nested instantiations in package bodies. gcc/ada/ * sem_ch12.adb (Scope_Within_Body_Or_Same): New predicate. (Check_Actual_Type): Take into account packages nested in bodies to compute the enclosing scope by means of Scope_Within_Body_Or_Same.
Diffstat (limited to 'gcc/ada/debug.adb')
0 files changed, 0 insertions, 0 deletions