aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcov-tool.cc
diff options
context:
space:
mode:
authorClaire Dross <dross@adacore.com>2022-05-09 15:44:22 +0200
committerPierre-Marie de Rodat <derodat@adacore.com>2022-06-02 09:06:37 +0000
commit878043af338c3b49f7848f3b73938cfa75a97393 (patch)
tree5c743dc977487d9ae22a27ced24d6eff8fbebc58 /gcc/gcov-tool.cc
parentf03f48a3843046a4ee888db3b86c0efe3812e2c7 (diff)
downloadgcc-878043af338c3b49f7848f3b73938cfa75a97393.zip
gcc-878043af338c3b49f7848f3b73938cfa75a97393.tar.gz
gcc-878043af338c3b49f7848f3b73938cfa75a97393.tar.bz2
[Ada] Fix iteration on formal vectors
We need to use Extended_Index for the Position parameter of the Element function in formal vectors so it is compatible with other primitives of the Iterable aspect. gcc/ada/ * libgnat/a-cfinve.ads (Element): Change the type of the Position parameter to Extended_Index. * libgnat/a-cfinve.adb (Element): Idem. * libgnat/a-cofove.ads (Element): Idem. * libgnat/a-cofove.adb (Element): Idem.
Diffstat (limited to 'gcc/gcov-tool.cc')
0 files changed, 0 insertions, 0 deletions