[COMMITTED] ada: Remove a remaining reference to ?

Marc Poulhiès poulhies@adacore.com
Mon May 22 08:50:22 GMT 2023


From: Arnaud Charlet <charlet@adacore.com>

We should no longer use ? anywhere when emitting warnings.

gcc/ada/

	* sem_aggr.adb (Get_Value): Use ?? instead of ?.

Tested on x86_64-pc-linux-gnu, committed on master.

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

diff --git a/gcc/ada/sem_aggr.adb b/gcc/ada/sem_aggr.adb
index 2ccfe6dcaef..6405fe4c2d4 100644
--- a/gcc/ada/sem_aggr.adb
+++ b/gcc/ada/sem_aggr.adb
@@ -4676,7 +4676,7 @@ package body Sem_Aggr is
                         then
                            Error_Msg_Node_2 := Typ;
                            Error_Msg_NE
-                             ("component&? of type& is uninitialized",
+                             ("??component& of type& is uninitialized",
                               Assoc, Selector_Name);
 
                            --  An additional reminder if the component type
-- 
2.40.0



More information about the Gcc-patches mailing list