summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Poulhiès <poulhies@adacore.com>2023-01-16 16:31:51 +0100
committerMarc Poulhiès <poulhies@adacore.com>2023-05-15 11:36:43 +0200
commit8d1c1b02d6e9c8d211bb1fa634406164483236ba (patch)
tree708db72ecbade5e91b10e74ba4835aca2aef0916
parent9c213cb8671e01578a3714ac136760f9452642aa (diff)
downloadgcc-8d1c1b02d6e9c8d211bb1fa634406164483236ba.tar.gz
ada: Fix typo in comment
gcc/ada/ * exp_ch3.adb (Make_Allocator_For_Return): Fix typo in comment.
-rw-r--r--gcc/ada/exp_ch3.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/exp_ch3.adb b/gcc/ada/exp_ch3.adb
index abe71b252e7..363186565f6 100644
--- a/gcc/ada/exp_ch3.adb
+++ b/gcc/ada/exp_ch3.adb
@@ -7196,7 +7196,7 @@ package body Exp_Ch3 is
-- We always use the type of the expression for the qualified
-- expression, rather than the return object's type. We cannot
-- always use the return object's type because the expression
- -- might be of a specific type and the return object mignt not.
+ -- might be of a specific type and the return object might not.
Alloc :=
Make_Allocator (Loc,