From: Eric Botcazou Date: Tue, 21 Oct 2025 10:24:44 +0000 (+0200) Subject: ada: Adjust outdated reference in comment X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c22f8e1c41096f753e5b08a34d9f2b945892555a;p=thirdparty%2Fgcc.git ada: Adjust outdated reference in comment The Apply_Alignment_Check procedure no longer exists. gcc/ada/ChangeLog: * checks.adb (Apply_Address_Clause_Check): Adjust self-reference in the opening comment. --- diff --git a/gcc/ada/checks.adb b/gcc/ada/checks.adb index c30e5f1bf19..39cf37ea711 100644 --- a/gcc/ada/checks.adb +++ b/gcc/ada/checks.adb @@ -596,9 +596,10 @@ package body Checks is -- Note: we do not check for checks suppressed here, since that check -- was done in Sem_Ch13 when the address clause was processed. We are -- only called if checks were not suppressed. The reason for this is - -- that we have to delay the call to Apply_Alignment_Check till freeze - -- time (so that all types etc are elaborated), but we have to check - -- the status of check suppressing at the point of the address clause. + -- that we have to delay the call to Apply_Address_Clause_Check till + -- freeze time (so that all types etc are elaborated), but we have to + -- check the status of check suppressing at the point of the address + -- clause. if No (AC) or else not Check_Address_Alignment (AC)