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

commit r16-1226-gdaa245bc566835d162c0bcf323ead2effa9e2ecb
Author: Piotr Trojanek <troja...@adacore.com>
Date:   Tue Feb 25 13:02:38 2025 +0100

    ada: Fix typo in documentation about convention and representation
    
    Currently there are only three exceptions to the general rule; the fourth
    exception applied to OpenVMS, whose support has been deconstructed.
    
    gcc/ada/ChangeLog:
    
            * doc/gnat_rm/representation_clauses_and_pragmas.rst
            (Effect of Convention on Representation): Fix number of list items.
            * gnat_rm.texi: Regenerate.
            * gnat_ugn.texi: Regenerate.

Diff:
---
 gcc/ada/doc/gnat_rm/representation_clauses_and_pragmas.rst | 2 +-
 gcc/ada/gnat_rm.texi                                       | 2 +-
 gcc/ada/gnat_ugn.texi                                      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/gcc/ada/doc/gnat_rm/representation_clauses_and_pragmas.rst 
b/gcc/ada/doc/gnat_rm/representation_clauses_and_pragmas.rst
index b0e131fe4abb..7250f6586ee1 100644
--- a/gcc/ada/doc/gnat_rm/representation_clauses_and_pragmas.rst
+++ b/gcc/ada/doc/gnat_rm/representation_clauses_and_pragmas.rst
@@ -1872,7 +1872,7 @@ conventions, and for example records are laid out in a 
manner that is
 consistent with C.  This means that specifying convention C (for example)
 has no effect.
 
-There are four exceptions to this general rule:
+There are three exceptions to this general rule:
 
 * *Convention Fortran and array subtypes*.
 
diff --git a/gcc/ada/gnat_rm.texi b/gcc/ada/gnat_rm.texi
index 5ec090f2669a..5b2a9157c059 100644
--- a/gcc/ada/gnat_rm.texi
+++ b/gcc/ada/gnat_rm.texi
@@ -20717,7 +20717,7 @@ conventions, and for example records are laid out in a 
manner that is
 consistent with C.  This means that specifying convention C (for example)
 has no effect.
 
-There are four exceptions to this general rule:
+There are three exceptions to this general rule:
 
 
 @itemize *
diff --git a/gcc/ada/gnat_ugn.texi b/gcc/ada/gnat_ugn.texi
index 5331a318c0d8..ca1d7bcc1abf 100644
--- a/gcc/ada/gnat_ugn.texi
+++ b/gcc/ada/gnat_ugn.texi
@@ -29833,8 +29833,8 @@ to permit their use in free software.
 
 @printindex ge
 
-@anchor{d2}@w{                              }
 @anchor{gnat_ugn/gnat_utility_programs switches-related-to-project-files}@w{   
                           }
+@anchor{d2}@w{                              }
 
 @c %**end of body
 @bye

Reply via email to