]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Fix incorrect lower bound presumption in gnatlink
authorRonan Desplanques <desplanques@adacore.com>
Fri, 12 Apr 2024 14:45:08 +0000 (16:45 +0200)
committerMarc Poulhiès <poulhies@adacore.com>
Mon, 10 Jun 2024 09:03:59 +0000 (11:03 +0200)
commiteb822805b51a1fa5b514a04a6e66556e3dcd3484
tree910f60c6a09e0182c47d4f64506d9e2f23718296
parent2d20aaaa8a3cb807431fcd74bec02967fcd60995
ada: Fix incorrect lower bound presumption in gnatlink

This patch fixes a subprogram in gnatlink that incorrectly assumed
that the strings it is passed as arguments all have a lower bound of
1.

gcc/ada/

* gnatlink.adb (Check_File_Name): Fix incorrect assumption.
gcc/ada/gnatlink.adb