aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonan Desplanques <desplanques@adacore.com>2025-04-10 17:08:34 +0200
committerMarc Poulhiès <dkm@gcc.gnu.org>2025-06-12 10:37:57 +0200
commita4c64da32f4aa1e76a4d28298426b09b70a2eecf (patch)
treeeba84df3ad3e3544b8fbe11939491a48f37200b9
parenta0765fe5d27c2a7185fa2bf82bde3ffea84ad679 (diff)
downloadgcc-a4c64da32f4aa1e76a4d28298426b09b70a2eecf.zip
gcc-a4c64da32f4aa1e76a4d28298426b09b70a2eecf.tar.gz
gcc-a4c64da32f4aa1e76a4d28298426b09b70a2eecf.tar.bz2
ada: Fix reference to RM clause in comment
The implicit declarations for labels are defined in 5.1 (12), not 5.1 (3). gcc/ada/ChangeLog: * sinfo.ads: Fix RM reference.
-rw-r--r--gcc/ada/sinfo.ads2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/sinfo.ads b/gcc/ada/sinfo.ads
index a0c7314..9b5d3c2 100644
--- a/gcc/ada/sinfo.ads
+++ b/gcc/ada/sinfo.ads
@@ -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