]> gcc.gnu.org Git - gcc.git/commit
[Ada] Additional error checking on index constraints with fixed-lower-bound ranges
authorGary Dismukes <dismukes@adacore.com>
Tue, 23 Mar 2021 23:03:23 +0000 (19:03 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 18 Jun 2021 08:36:54 +0000 (04:36 -0400)
commitba71587184b28fd04eb56ac6ac8e7ad5bdab8ac5
treeba3a7db27b41fb8c13fff4cca409db5c88802d30
parent161e220201436a641df5f5d86fdbaebb599302fc
[Ada] Additional error checking on index constraints with fixed-lower-bound ranges

gcc/ada/

* sem_ch3.adb (Constrain_Array): Add error checking for
fixed-lower-bound and constrained index ranges applied
inappropriately on subtypes of unconstrained and
fixed-lower-bound array types.
(Constrain_Index): Correct and refine comment related to
fixed-lower-bound index ranges.
gcc/ada/sem_ch3.adb
This page took 0.058945 seconds and 5 git commands to generate.