aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface
diff options
context:
space:
mode:
authorEd Schonberg <schonberg@adacore.com>2022-02-15 15:38:42 +0100
committerPierre-Marie de Rodat <derodat@adacore.com>2022-05-13 08:04:36 +0000
commit7b6fa643ef03f898a6e7284167fa6d064ba8b524 (patch)
treea9bac34cad6d2fc74a02ffb2a431e7a5fabfe101 /gcc/ada/gcc-interface
parent3fe35ab093de715e88fc837155954bbe74b326f3 (diff)
downloadgcc-7b6fa643ef03f898a6e7284167fa6d064ba8b524.zip
gcc-7b6fa643ef03f898a6e7284167fa6d064ba8b524.tar.gz
gcc-7b6fa643ef03f898a6e7284167fa6d064ba8b524.tar.bz2
[Ada] Handle IN iterator for class-wide derived object of iterator type
The compiler currently rejects iterating on an interface type derived from an iterator type. See Ada RM 5.5.1(6/3) and 5.5.2(3/3). gcc/ada/ * sem_ch5.adb (Analyze_Iterator_Specification): Fix Typ in the case of a class-wide derived iterator.
Diffstat (limited to 'gcc/ada/gcc-interface')
0 files changed, 0 insertions, 0 deletions