[Ada] Use correct subtype for call to Last in formal vectors
commitd878b2c9819e0ae9e942c87c3eb547b0bfb30dc5
authorClaire Dross <dross@adacore.com>
Thu, 12 Dec 2019 10:02:14 +0000 (12 10:02 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Thu, 12 Dec 2019 10:02:14 +0000 (12 10:02 +0000)
treef92595c1c7947d824011207b249bc149e785d22a
parente16c6cc3319d1ee613a9c53b86d2e7addd07b13c
[Ada] Use correct subtype for call to Last in formal vectors

2019-12-12  Claire Dross  <dross@adacore.com>

gcc/ada/

* libgnat/a-cofove.adb, libgnat/a-cfinve.adb (Find_Index): Use
Extended_Index for call to Last.

From-SVN: r279284
gcc/ada/ChangeLog
gcc/ada/libgnat/a-cfinve.adb
gcc/ada/libgnat/a-cofove.adb