aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/doc/gnat_rm
diff options
context:
space:
mode:
authorJustin Squirek <squirek@adacore.com>2024-05-10 11:18:01 +0000
committerMarc Poulhiès <poulhies@adacore.com>2024-06-14 09:34:18 +0200
commit1feb6d81a3ab587382817cd7a39222b6c83f68ac (patch)
treea067309407af69d5950c2832c5c92c365a89e818 /gcc/ada/doc/gnat_rm
parent34935c45c6e13093f9e2c2b1bc36483818152e9c (diff)
downloadgcc-1feb6d81a3ab587382817cd7a39222b6c83f68ac.zip
gcc-1feb6d81a3ab587382817cd7a39222b6c83f68ac.tar.gz
gcc-1feb6d81a3ab587382817cd7a39222b6c83f68ac.tar.bz2
ada: Crash checking accessibility level on private type
This patch fixes an issue in the compiler whereby calculating a static accessibility level on a private type with an access discriminant resulted in a compile time crash when No_Dynamic_Accessibility_Checks is enabled. gcc/ada/ * accessibility.adb: (Accessibility_Level): Replace call Get_Full_View with call to Full_View since Get_Full_View only works with incomplete types.
Diffstat (limited to 'gcc/ada/doc/gnat_rm')
0 files changed, 0 insertions, 0 deletions