]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Adjust outdated reference in comment
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 21 Oct 2025 10:24:44 +0000 (12:24 +0200)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Mon, 3 Nov 2025 14:15:18 +0000 (15:15 +0100)
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

index c30e5f1bf199c1a5fa266686a20886d7ccc96fa9..39cf37ea711bb38a65e6609c9d71f9c5739f1c03 100644 (file)
@@ -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)