From: Eric Botcazou <[email protected]>

The Apply_Alignment_Check procedure no longer exists.

gcc/ada/ChangeLog:

        * checks.adb (Apply_Address_Clause_Check): Adjust self-reference in
        the opening comment.

Tested on x86_64-pc-linux-gnu, committed on master.

---
 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.51.0

Reply via email to