aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/utils.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2021-04-27 21:18:12 +0200
committerPierre-Marie de Rodat <derodat@adacore.com>2021-07-12 12:50:57 +0000
commit3ccd5d7192603e0ed6d0020658291b7c96f5651b (patch)
tree945900f3b7702592feb4506b949f29d720e4d483 /gcc/ada/gcc-interface/utils.c
parent0c8ff35eb982a49882ed71b1b85e8436675adf88 (diff)
downloadgcc-3ccd5d7192603e0ed6d0020658291b7c96f5651b.zip
gcc-3ccd5d7192603e0ed6d0020658291b7c96f5651b.tar.gz
gcc-3ccd5d7192603e0ed6d0020658291b7c96f5651b.tar.bz2
[Ada] Implement support for unconstrained array types with FLB
gcc/ada/ * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Use a fixed lower bound if the index subtype is marked so, as well as a more efficient formula for the upper bound if the array cannot be superflat. (flb_cannot_be_superflat): New predicate. (cannot_be_superflat): Rename into... (range_cannot_be_superfla): ...this. Minor tweak.
Diffstat (limited to 'gcc/ada/gcc-interface/utils.c')
0 files changed, 0 insertions, 0 deletions