public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-843] [Ada] Fix Warn_On_Late_Primitives messages 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:f925b56959d8479d7d5e072d1371b6b02870f5c8

commit r13-843-gf925b56959d8479d7d5e072d1371b6b02870f5c8
Author: Ghjuvan Lacambre <lacambre@adacore.com>
Date:   Tue Apr 26 09:25:52 2022 +0200

    [Ada] Fix Warn_On_Late_Primitives messages not being properly tagged
    
    This caused tools ingesting GNAT's output to mislabel these messages.
    
    gcc/ada/
    
            * sem_disp.adb (Warn_On_Late_Primitive_After_Private_Extension):
            Fix insertion character.

Diff:
---
 gcc/ada/sem_disp.adb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/ada/sem_disp.adb b/gcc/ada/sem_disp.adb
index 0372ff87c33..3e75a47a309 100644
--- a/gcc/ada/sem_disp.adb
+++ b/gcc/ada/sem_disp.adb
@@ -1207,7 +1207,7 @@ package body Sem_Disp is
                   Error_Msg_Name_2 := Chars (E);
                   Error_Msg_Sloc := Sloc (E);
                   Error_Msg_N
-                    ("?j?primitive of type % defined after private extension "
+                    ("?.j?primitive of type % defined after private extension "
                      & "% #?", Prim);
                   Error_Msg_Name_1 := Chars (Prim);
                   Error_Msg_Name_2 := Chars (E);


^ 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-843] [Ada] Fix Warn_On_Late_Primitives messages 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).