]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Fix reference to RM clause in comment
authorRonan Desplanques <desplanques@adacore.com>
Thu, 10 Apr 2025 15:08:34 +0000 (17:08 +0200)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Thu, 12 Jun 2025 08:37:57 +0000 (10:37 +0200)
The implicit declarations for labels are defined in 5.1 (12), not
5.1 (3).

gcc/ada/ChangeLog:

* sinfo.ads: Fix RM reference.

gcc/ada/sinfo.ads

index a0c731403447060d85abf86bca218153efa12e29..9b5d3c29ca4de341deeebf6f42322afc857aa6e6 100644 (file)
@@ -8172,7 +8172,7 @@ package Sinfo is
       --  An implicit label declaration is created for every occurrence of a
       --  label on a statement or a label on a block or loop. It is chained
       --  in the declarations of the innermost enclosing block as specified
-      --  in RM section 5.1 (3).
+      --  in RM section 5.1 (12).
 
       --  The Defining_Identifier is the actual identifier for the statement
       --  identifier. Note that the occurrence of the label is a reference, NOT