public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-2152] [Ada] Fix use of single question mark in error message
@ 2021-07-08 13:36 Pierre-Marie de Rodat
  0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2021-07-08 13:36 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:6105ebb782756b449ee2ebec01bd4dd2c256ff17

commit r12-2152-g6105ebb782756b449ee2ebec01bd4dd2c256ff17
Author: Ghjuvan Lacambre <lacambre@adacore.com>
Date:   Wed May 26 18:02:34 2021 +0200

    [Ada] Fix use of single question mark in error message
    
    gcc/ada/
    
            * exp_prag.adb (Expand_Pragma_Inspection_Point): Fix error
            message.

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

diff --git a/gcc/ada/exp_prag.adb b/gcc/ada/exp_prag.adb
index f686395a9ef..43ecdcdd333 100644
--- a/gcc/ada/exp_prag.adb
+++ b/gcc/ada/exp_prag.adb
@@ -2413,7 +2413,7 @@ package body Exp_Prag is
          if Present (Freeze_Node (Entity (Expression (Assoc)))) and then
            not Is_Frozen (Entity (Expression (Assoc)))
          then
-            Error_Msg_NE ("?inspection point references unfrozen object &",
+            Error_Msg_NE ("??inspection point references unfrozen object &",
               Assoc,
               Entity (Expression (Assoc)));
             Remove_Inspection_Point := True;


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-08 13:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-08 13:36 [gcc r12-2152] [Ada] Fix use of single question mark in error message 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).