diff options
| author | Viljar Indus <indus@adacore.com> | 2025-11-18 14:39:03 +0200 |
|---|---|---|
| committer | Marc Poulhiès <dkm@gcc.gnu.org> | 2025-12-05 13:22:53 +0100 |
| commit | b85d7e3eecb616842a194dea799dfaa7db03366e (patch) | |
| tree | 38ac522bbdc7dbac0970fa0dee34c8d8fd6e1ad1 /gcc/fortran/array.cc | |
| parent | b6bfc77fe56ac999d515fe3899afbab0eb0ee480 (diff) | |
| download | gcc-b85d7e3eecb616842a194dea799dfaa7db03366e.zip gcc-b85d7e3eecb616842a194dea799dfaa7db03366e.tar.gz gcc-b85d7e3eecb616842a194dea799dfaa7db03366e.tar.bz2 | |
ada: Fix false positive error for classwide containers
Get_Cursor_Type fails if a classwide container type
is passed to it as it cannot correctly identify the
cursor type since it is expecting the iteration functions
to have a container argument with a classwide container type.
gcc/ada/ChangeLog:
* sem_util.adb (Get_Cursor_Type): use the
specific type for classwide container checks.
Diffstat (limited to 'gcc/fortran/array.cc')
0 files changed, 0 insertions, 0 deletions
