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.
P := 1;
while P < Temp.Length loop
- if Temp.Chars (P + 1) in 'A' .. 'Z' then
+ -- Cheap test for the common case of no encoding
+
+ if Temp.Chars (P + 1) in 'A' .. 'Z'
+ and then Temp.Chars (P + 1) /= 'W'
+ then
P := P + 1;
-- Uhh encoding