From: Javier Miranda Date: Fri, 7 Oct 2022 16:02:02 +0000 (+0000) Subject: ada: Skip dynamic interface conversion under configurable runtime X-Git-Tag: basepoints/gcc-14~3539 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64b10736a16c901701e4c97ce71504791ba9bbea;p=thirdparty%2Fgcc.git ada: Skip dynamic interface conversion under configurable runtime gcc/ada/ * exp_disp.adb (Expand_Interface_Conversion): Fix typo in comment. --- diff --git a/gcc/ada/exp_disp.adb b/gcc/ada/exp_disp.adb index d8a45ffb7c94..41da7a23ee56 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