public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-3793] [Ada] Change message format on missing return
@ 2021-09-22 15:09 Pierre-Marie de Rodat
0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2021-09-22 15:09 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:ab857d1a3b4b726262c4c9d31c22d214a3ffee53
commit r12-3793-gab857d1a3b4b726262c4c9d31c22d214a3ffee53
Author: Arnaud Charlet <charlet@adacore.com>
Date: Mon Jul 12 05:33:26 2021 -0400
[Ada] Change message format on missing return
gcc/ada/
* sem_ch6.adb (Check_Returns): Change message on missing return.
Diff:
---
gcc/ada/sem_ch6.adb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/ada/sem_ch6.adb b/gcc/ada/sem_ch6.adb
index 304dc194243..f885d306b02 100644
--- a/gcc/ada/sem_ch6.adb
+++ b/gcc/ada/sem_ch6.adb
@@ -7760,7 +7760,7 @@ package body Sem_Ch6 is
("RETURN statement missing following this statement<<!",
Last_Stm);
Error_Msg_N
- ("\Program_Error ]<<!", Last_Stm);
+ ("\Program_Error [<<!", Last_Stm);
end if;
-- Note: we set Err even though we have not issued a warning
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-09-22 15:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-22 15:09 [gcc r12-3793] [Ada] Change message format on missing return 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).