aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/utils.cc
diff options
context:
space:
mode:
authorJin Ma <jinma@linux.alibaba.com>2023-04-18 07:28:22 -0600
committerJeff Law <jlaw@ventanamicro>2023-04-18 07:28:22 -0600
commitfc8eaf42393d462e0454fa36a41fa313408b87cb (patch)
tree31f7ed0c0f6ce91a7057275448069d045b65a416 /gcc/ada/gcc-interface/utils.cc
parent10e481b154c5fc63e6ce4b449ce86cecb87a6015 (diff)
downloadgcc-fc8eaf42393d462e0454fa36a41fa313408b87cb.zip
gcc-fc8eaf42393d462e0454fa36a41fa313408b87cb.tar.gz
gcc-fc8eaf42393d462e0454fa36a41fa313408b87cb.tar.bz2
Fixed typo.
gcc/ada * gcc-interface/utils.cc (unchecked_convert): Fixed typo.
Diffstat (limited to 'gcc/ada/gcc-interface/utils.cc')
-rw-r--r--gcc/ada/gcc-interface/utils.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/gcc-interface/utils.cc b/gcc/ada/gcc-interface/utils.cc
index 392ec0b..0c4f8b9 100644
--- a/gcc/ada/gcc-interface/utils.cc
+++ b/gcc/ada/gcc-interface/utils.cc
@@ -5543,7 +5543,7 @@ unchecked_convert (tree type, tree expr, bool notrunc_p)
}
}
- /* Likewise if we are converting from a fixed-szie type to a type with self-
+ /* Likewise if we are converting from a fixed-size type to a type with self-
referential size. We use the max size to do the padding in this case. */
else if (!INDIRECT_REF_P (expr)
&& TREE_CODE (expr) != STRING_CST