]> gcc.gnu.org Git - gcc.git/commitdiff
[Ada] Fix Warn_On_All_Unread_Out_Parameters not being properly tagged
authorGhjuvan Lacambre <lacambre@adacore.com>
Tue, 26 Apr 2022 07:32:59 +0000 (09:32 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 30 May 2022 08:29:04 +0000 (08:29 +0000)
This caused tools ingesting GNAT's output to mislabel these messages.

gcc/ada/

* sem_warn.adb (Warn_On_Useless_Assignment): Fix insertion
character.

gcc/ada/sem_warn.adb

index 1bc248ce00e0a82197ac2fbd2d48596b34987098..251235797e934114c4ea9a837219326c5688ea4d 100644 (file)
@@ -4595,7 +4595,7 @@ package body Sem_Warn is
                         then
                            if Warn_On_All_Unread_Out_Parameters then
                               Error_Msg_NE
-                                ("?m?& modified by call, but value might not "
+                                ("?.o?& modified by call, but value might not "
                                  & "be referenced", LA, Ent);
                            end if;
                         else
This page took 0.071318 seconds and 5 git commands to generate.