aboutsummaryrefslogtreecommitdiff
path: root/gcc/c
diff options
context:
space:
mode:
authorsquirek <squirek@adacore.com>2024-11-01 16:33:02 +0000
committerMarc Poulhiès <dkm@gcc.gnu.org>2025-01-10 10:39:56 +0100
commit3ff216b7121f832c87eaa03ece327c1e113e155a (patch)
tree203894cf7b0edf51d0dfc69925f6e7acf7852a02 /gcc/c
parentc92f9f0d949c5c36fbd257a80644ae7231e396fd (diff)
downloadgcc-3ff216b7121f832c87eaa03ece327c1e113e155a.zip
gcc-3ff216b7121f832c87eaa03ece327c1e113e155a.tar.gz
gcc-3ff216b7121f832c87eaa03ece327c1e113e155a.tar.bz2
ada: Incorrect accessibilty level for library level subprograms
The patch fixes an issue in the compiler whereby accessibility level calculations for objects declared witihin library-level subprograms were done incorrectly - potentially allowing runtime accessibility checks to spuriously pass. gcc/ada/ChangeLog: * accessibility.adb: (Innermost_master_Scope_Depth): Add special case for expressions within library level subprograms.
Diffstat (limited to 'gcc/c')
0 files changed, 0 insertions, 0 deletions