https://gcc.gnu.org/g:c22f8e1c41096f753e5b08a34d9f2b945892555a

commit r16-4999-gc22f8e1c41096f753e5b08a34d9f2b945892555a
Author: Eric Botcazou <[email protected]>
Date:   Tue Oct 21 12:24:44 2025 +0200

    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:
---
 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 c30e5f1bf199..39cf37ea711b 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)

Reply via email to