[Ada] Fix typo in comment about overlapping actuals
authorPiotr Trojanek <trojanek@adacore.com>
Wed, 8 Apr 2020 08:56:44 +0000 (10:56 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 16 Jun 2020 13:07:17 +0000 (09:07 -0400)
2020-06-16  Piotr Trojanek  <trojanek@adacore.com>

gcc/ada/

* sem_warn.adb (Warn_On_Overlapping_Actuals): Fix typo in
comment.

gcc/ada/sem_warn.adb

index 4f4728c..1ca5d5a 100644 (file)
@@ -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