diff options
author | Arnaud Charlet <charlet@adacore.com> | 2020-07-13 05:23:17 -0400 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-10-20 03:21:36 -0400 |
commit | 8281a07f0cd02f96690b7c96a4768c68c44917a2 (patch) | |
tree | 031e009806ec7e3bcc9dd03327d3ee06393bdc32 /gcc/ada/sem_util.adb | |
parent | 83dcc2bd35e5dc981a13959b9bb6750736cd6544 (diff) | |
download | gcc-8281a07f0cd02f96690b7c96a4768c68c44917a2.zip gcc-8281a07f0cd02f96690b7c96a4768c68c44917a2.tar.gz gcc-8281a07f0cd02f96690b7c96a4768c68c44917a2.tar.bz2 |
[Ada] Spurious discriminant check on "for of" loop
gcc/ada/
* sem_ch8.adb (Check_Constrained_Object): Suppress discriminant
checks when the type has default discriminants and comes from
expansion of a "for of" loop.
Diffstat (limited to 'gcc/ada/sem_util.adb')
0 files changed, 0 insertions, 0 deletions