public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-844] [Ada] Fix Warn_On_All_Unread_Out_Parameters not being properly tagged
@ 2022-05-30 8:31 Pierre-Marie de Rodat
0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2022-05-30 8:31 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:67481ef52716c9baa0d69b7ce54f935e50982a11
commit r13-844-g67481ef52716c9baa0d69b7ce54f935e50982a11
Author: Ghjuvan Lacambre <lacambre@adacore.com>
Date: Tue Apr 26 09:32:59 2022 +0200
[Ada] Fix Warn_On_All_Unread_Out_Parameters not being properly tagged
This caused tools ingesting GNAT's output to mislabel these messages.
gcc/ada/
* sem_warn.adb (Warn_On_Useless_Assignment): Fix insertion
character.
Diff:
---
gcc/ada/sem_warn.adb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/ada/sem_warn.adb b/gcc/ada/sem_warn.adb
index 1bc248ce00e..251235797e9 100644
--- 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:31 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:31 [gcc r13-844] [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).