]> git.ipfire.org Git - thirdparty/gcc.git/commit
Ada: Fix other instances of incorrect String lower bound in gnatlink
authorNicolas Boulenguez <nicolas@debian.org>
Fri, 24 Oct 2025 10:46:55 +0000 (12:46 +0200)
committerEric Botcazou <ebotcazou@adacore.com>
Fri, 24 Oct 2025 16:52:45 +0000 (18:52 +0200)
commit6a8b5b873fc6312dff29b8bdb9de444caae600ef
treedf5e2a3e530b9f1b15b7d6173b97f3dd74863503
parent8b9cd6490ce507a8e3612044137bd2024e8658c4
Ada: Fix other instances of incorrect String lower bound in gnatlink

This also reverts an unintentional change introduced by the initial fix.

gcc/ada/
PR ada/81087
* gnatlink.adb (Is_Prefix): Move around, streamline and return false
when the prefix is not strict.
(Gnatlink): Fix other instances of incorrect lower bound assumption.
gcc/ada/gnatlink.adb