]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Fix wrong handling of wide wide characters in Append_Decoded_With_Brackets
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 14 Sep 2024 12:48:24 +0000 (14:48 +0200)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Fri, 25 Oct 2024 09:08:59 +0000 (11:08 +0200)
commita71c37a7241d8a73fe51712e5b4c7222afbaee8b
tree81d8ec880660a293ac5c2fe7fb284a5dfb6b4e27
parent18232cbcfd2c4f95bf51b4fa9fb65f545c2a0569
ada: Fix wrong handling of wide wide characters in Append_Decoded_With_Brackets

This only shows up at link time when the name of a compilation unit contains
a wide wide character.

gcc/ada/ChangeLog:

* namet.adb (Append_Decoded_With_Brackets): Fix condition for the
cheap test at the beginning of the loop.
gcc/ada/namet.adb