diff options
author | Javier Miranda <miranda@adacore.com> | 2024-12-10 19:49:15 +0000 |
---|---|---|
committer | Marc Poulhiès <dkm@gcc.gnu.org> | 2025-01-06 10:14:47 +0100 |
commit | 0216cca155e8abbd711e413d5ea99f3963ab4f43 (patch) | |
tree | a3140a0eb304b5edf7abc7480147ddf4185fb05c /gcc/fortran/trans-expr.cc | |
parent | 145314b3ef9017bb7d841578bb989dd85b3a12ac (diff) | |
download | gcc-0216cca155e8abbd711e413d5ea99f3963ab4f43.zip gcc-0216cca155e8abbd711e413d5ea99f3963ab4f43.tar.gz gcc-0216cca155e8abbd711e413d5ea99f3963ab4f43.tar.bz2 |
ada: Crash in prefix notation with access to class-wide object
The compiler crashes analyzing a prefix notation call when its
prefix is an access to a class-wide object, an actual parameter
is missing, and the sources are compiled with language extensions
(-gnatX) and full errors (-gnatf).
gcc/ada/ChangeLog:
* sem_ch4.adb (Try_Object_Operation): if no candidate interpretation
matches the context, redo the same analysis with Report_Error True
to report the error.
Diffstat (limited to 'gcc/fortran/trans-expr.cc')
0 files changed, 0 insertions, 0 deletions