aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem_util.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@adacore.com>2020-07-13 05:23:17 -0400
committerPierre-Marie de Rodat <derodat@adacore.com>2020-10-20 03:21:36 -0400
commit8281a07f0cd02f96690b7c96a4768c68c44917a2 (patch)
tree031e009806ec7e3bcc9dd03327d3ee06393bdc32 /gcc/ada/sem_util.adb
parent83dcc2bd35e5dc981a13959b9bb6750736cd6544 (diff)
downloadgcc-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