From: Eric Botcazou Date: Mon, 14 Oct 2024 07:54:55 +0000 (+0200) Subject: ada: Tweak description of new predicate X-Git-Tag: basepoints/gcc-16~4639 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0f7beae693e6f6d0206c57a3be23fdc6598fcfd;p=thirdparty%2Fgcc.git ada: Tweak description of new predicate The existing comment is a bit too vague. gcc/ada/ChangeLog: * exp_aggr.ads (Is_Two_Pass_Aggregate): Beef up comment. --- diff --git a/gcc/ada/exp_aggr.ads b/gcc/ada/exp_aggr.ads index aa79616c609a..2bbaeb217418 100644 --- a/gcc/ada/exp_aggr.ads +++ b/gcc/ada/exp_aggr.ads @@ -60,7 +60,8 @@ package Exp_Aggr is function Is_Two_Pass_Aggregate (N : Node_Id) return Boolean; -- Return True if N is an aggregate that is to be expanded in two passes. - -- This is the case if it consists only of iterated associations. + -- This is the case if it consists only of iterated component associations + -- with iterator specifications, see RM 4.3.3(20.2/5). function Static_Array_Aggregate (N : Node_Id) return Boolean; -- N is an array aggregate that may have a component association with