[COMMITTED] ada: Remove a remaining reference to ?

Message ID 20230522085022.1726290-1-poulhies@adacore.com
State Accepted
Headers
Series [COMMITTED] ada: Remove a remaining reference to ? |

Checks

Context Check Description
snail/gcc-patch-check success Github commit url

Commit Message

Marc Poulhiès May 22, 2023, 8:50 a.m. UTC
  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(-)
  

Patch

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