[gcc/devel/gccgo] [Ada] Fix typo in comment about overlapping actuals

Ian Lance Taylor ian@gcc.gnu.org
Sun Jul 12 19:39:57 GMT 2020


https://gcc.gnu.org/g:96bd3460c906cffa40a4f0ca92adea6ad79d7059

commit 96bd3460c906cffa40a4f0ca92adea6ad79d7059
Author: Piotr Trojanek <trojanek@adacore.com>
Date:   Wed Apr 8 10:56:44 2020 +0200

    [Ada] Fix typo in comment about overlapping actuals
    
    2020-06-16  Piotr Trojanek  <trojanek@adacore.com>
    
    gcc/ada/
    
            * sem_warn.adb (Warn_On_Overlapping_Actuals): Fix typo in
            comment.

Diff:
---
 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 4f4728c0224..1ca5d5aa841 100644
--- a/gcc/ada/sem_warn.adb
+++ b/gcc/ada/sem_warn.adb
@@ -3697,7 +3697,7 @@ package body Sem_Warn is
       --  there is no other name among the other parameters of mode in out or
       --  out to C that is known to denote the same object (RM 6.4.1(6.15/3))
       --  This has been clarified in AI12-0216 to indicate that the illegality
-      --  only occurs if both formals are of an elementary type, bevause of the
+      --  only occurs if both formals are of an elementary type, because of the
       --  non-determinism on the write-back of the corresponding actuals.
       --  Earlier versions of the language made it illegal if only one of the
       --  actuals was an elementary parameter that overlapped a composite


More information about the Gcc-cvs mailing list