From: Ronan Desplanques <desplanq...@adacore.com>

A previous change introduced an error in the diagnostic message about
overlapping actuals. This commit fixes this.

gcc/ada/

        * sem_warn.adb (Warn_On_Overlapping_Actuals): Fix typo.

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

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

diff --git a/gcc/ada/sem_warn.adb b/gcc/ada/sem_warn.adb
index ccf9067c672..2de3f8668b0 100644
--- a/gcc/ada/sem_warn.adb
+++ b/gcc/ada/sem_warn.adb
@@ -3865,7 +3865,7 @@ package body Sem_Warn is
                         --  This is one of the messages
 
                         Error_Msg_FE ("<.i<writable actual for & overlaps with"
-                          & "actual for &", Act1, Form1);
+                          & " actual for &", Act1, Form1);
                      end if;
                   end if;
                end if;
-- 
2.43.2

Reply via email to