From c22f8e1c41096f753e5b08a34d9f2b945892555a Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Tue, 21 Oct 2025 12:24:44 +0200 Subject: [PATCH] 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. --- gcc/ada/checks.adb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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) -- 2.47.3