From: Gary Dismukes Date: Tue, 20 Oct 2020 18:02:25 +0000 (-0400) Subject: [Ada] Correct a typo, plus other minor reformatting X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e3946607a681a1bbbc50befcabcfc78a86f42f45;p=gcc.git [Ada] Correct a typo, plus other minor reformatting gcc/ada/ * exp_util.adb (Expand_Subtype_From_Expr): A typo correction, plus other minor reformatting. --- diff --git a/gcc/ada/exp_util.adb b/gcc/ada/exp_util.adb index dd3aa49af7d..b595de025f5 100644 --- a/gcc/ada/exp_util.adb +++ b/gcc/ada/exp_util.adb @@ -5347,7 +5347,7 @@ package body Exp_Util is then null; - -- For limited objects initialized with build in place function calls, + -- For limited objects initialized with build-in-place function calls, -- nothing to be done; otherwise we prematurely introduce an N_Reference -- node in the expression initializing the object, which breaks the -- circuitry that detects and adds the additional arguments to the @@ -5356,9 +5356,9 @@ package body Exp_Util is elsif Is_Build_In_Place_Function_Call (Exp) then null; - -- If the exprewsion is an uninitialized aggregate, no need to build - -- a subtype from the expression. because this may require the use - -- of dynamic memory to create the object. + -- If the expression is an uninitialized aggregate, no need to build + -- a subtype from the expression, because this may require the use of + -- dynamic memory to create the object. elsif Is_Uninitialized_Aggregate (Exp, Exp_Typ) then Rewrite (Subtype_Indic, New_Occurrence_Of (Etype (Exp), Sloc (N)));