* [Ada] Fix Warn_On_All_Unread_Out_Parameters not being properly tagged
@ 2022-05-30 8:32 Pierre-Marie de Rodat
0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2022-05-30 8:32 UTC (permalink / raw)
To: gcc-patches; +Cc: Ghjuvan Lacambre
[-- Attachment #1: Type: text/plain, Size: 203 bytes --]
This caused tools ingesting GNAT's output to mislabel these messages.
Tested on x86_64-pc-linux-gnu, committed on trunk
gcc/ada/
* sem_warn.adb (Warn_On_Useless_Assignment): Fix insertion
character.
[-- Attachment #2: patch.diff --]
[-- Type: text/x-diff, Size: 594 bytes --]
diff --git a/gcc/ada/sem_warn.adb b/gcc/ada/sem_warn.adb
--- a/gcc/ada/sem_warn.adb
+++ b/gcc/ada/sem_warn.adb
@@ -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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-05-30 8:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-30 8:32 [Ada] Fix Warn_On_All_Unread_Out_Parameters not being properly tagged Pierre-Marie de Rodat
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).