aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Miranda <miranda@adacore.com>2022-10-07 16:02:02 +0000
committerMarc Poulhiès <poulhies@adacore.com>2022-11-04 14:47:27 +0100
commit64b10736a16c901701e4c97ce71504791ba9bbea (patch)
treeb646bfd5b3925624747c7730f320899fd78deb51
parent5150978dfe1b049f16bed80aad2163c43be039cf (diff)
downloadgcc-64b10736a16c901701e4c97ce71504791ba9bbea.zip
gcc-64b10736a16c901701e4c97ce71504791ba9bbea.tar.gz
gcc-64b10736a16c901701e4c97ce71504791ba9bbea.tar.bz2
ada: Skip dynamic interface conversion under configurable runtime
gcc/ada/ * exp_disp.adb (Expand_Interface_Conversion): Fix typo in comment.
-rw-r--r--gcc/ada/exp_disp.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/exp_disp.adb b/gcc/ada/exp_disp.adb
index d8a45ff..41da7a2 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