[COMMITTED] ada: Skip dynamic interface conversion under configurable runtime

Message ID 20221104135713.86322-1-poulhies@adacore.com
State Unresolved
Headers
Series [COMMITTED] ada: Skip dynamic interface conversion under configurable runtime |

Checks

Context Check Description
snail/gcc-patch-check warning Git am fail log

Commit Message

Marc Poulhiès Nov. 4, 2022, 1:57 p.m. UTC
  From: Javier Miranda <miranda@adacore.com>

gcc/ada/

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

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

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

Patch

diff --git a/gcc/ada/exp_disp.adb b/gcc/ada/exp_disp.adb
index d8a45ffb7c9..41da7a23ee5 100644
--- a/gcc/ada/exp_disp.adb
+++ b/gcc/ada/exp_disp.adb
@@ -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