diff options
author | Justin Squirek <squirek@adacore.com> | 2024-03-27 01:02:41 +0000 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2024-05-20 09:47:05 +0200 |
commit | b226e5605a6e1833da85590b10a5acf0b16d00d8 (patch) | |
tree | 4f3c43112c7fe2cde1e5a6119f4c7e48f892e7ea /gcc/ada/fe.h | |
parent | fd5a221928bb0689f7ff7eadc295970bf58392a5 (diff) | |
download | gcc-b226e5605a6e1833da85590b10a5acf0b16d00d8.zip gcc-b226e5605a6e1833da85590b10a5acf0b16d00d8.tar.gz gcc-b226e5605a6e1833da85590b10a5acf0b16d00d8.tar.bz2 |
ada: Handle accessibility calculations for 'First and 'Last
This patch fixes a crash in the compiler whereby calculating the accessibility
level of of a local variable whose original expression is an 'First on an
array type led to an error during compilation.
gcc/ada/
* accessibility.adb (Accessibility_Level): Add cases for 'First
and 'Last.
Diffstat (limited to 'gcc/ada/fe.h')
0 files changed, 0 insertions, 0 deletions