diff options
author | Justin Squirek <squirek@adacore.com> | 2024-04-11 19:13:52 +0000 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2024-06-10 11:04:00 +0200 |
commit | c936305076919e6e7fcf7e8c6332c897571a2894 (patch) | |
tree | 44b898db4eb9c584511308edc67638848d80d2d5 /gcc/tree-vect-loop.cc | |
parent | 7158a64fe920fc5ed14b79459486a58e9718326d (diff) | |
download | gcc-c936305076919e6e7fcf7e8c6332c897571a2894.zip gcc-c936305076919e6e7fcf7e8c6332c897571a2894.tar.gz gcc-c936305076919e6e7fcf7e8c6332c897571a2894.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): Use Get_Full_View to
avoid crashes when calculating scope.
Diffstat (limited to 'gcc/tree-vect-loop.cc')
0 files changed, 0 insertions, 0 deletions