]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Skip dynamic interface conversion under configurable runtime
authorJavier Miranda <miranda@adacore.com>
Fri, 7 Oct 2022 16:02:02 +0000 (16:02 +0000)
committerMarc Poulhiès <poulhies@adacore.com>
Fri, 4 Nov 2022 13:47:27 +0000 (14:47 +0100)
gcc/ada/

* exp_disp.adb
(Expand_Interface_Conversion): Fix typo in comment.

gcc/ada/exp_disp.adb

index d8a45ffb7c9407fe6b819fe39a1b23441b91978b..41da7a23ee56f940707b2e7691bbb1c2bc08ca18 100644 (file)
@@ -1308,7 +1308,7 @@ package body Exp_Disp is
          --  When the target type is an interface type that is an ancestor of
          --  the operand type, it is generally safe to skip generating code to
          --  displace the pointer to the object to reference the secondary
-         --  dispatch table of the target interface type. Two scenaries are
+         --  dispatch table of the target interface type. Two scenarios are
          --  possible here:
          --    1) The operand type is a regular tagged type
          --    2) The operand type is an interface type