diff options
author | Ed Schonberg <schonberg@adacore.com> | 2018-12-11 11:12:16 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2018-12-11 11:12:16 +0000 |
commit | 2f42b6ead47da2c5d863042de6689aee64d342b3 (patch) | |
tree | 4b060a6eb32f2e547780008fcbf8b8a096c468d8 /gcc/tree-ssa-loop-im.c | |
parent | 155f4f34d1f2e1d6ea4e82104f57be3d6eab78b2 (diff) | |
download | gcc-2f42b6ead47da2c5d863042de6689aee64d342b3.zip gcc-2f42b6ead47da2c5d863042de6689aee64d342b3.tar.gz gcc-2f42b6ead47da2c5d863042de6689aee64d342b3.tar.bz2 |
[Ada] Crash on misplaced First operation for GNAT iterable type
This patch improves the handling of an improper declaaration of aspect
First for a GNAT-defined iterable type,
2018-12-11 Ed Schonberg <schonberg@adacore.com>
gcc/ada/
* sem_util.adb (Get_Actual_Subtype): Function can return type
mark.
(Get_Cursor_Type): Improve recovery and error message on a
misplaced First aspect for an iterable type.
gcc/testsuite/
* gnat.dg/iter4.adb: New testcase.
From-SVN: r267013
Diffstat (limited to 'gcc/tree-ssa-loop-im.c')
0 files changed, 0 insertions, 0 deletions