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

commit r15-4696-gecf80e7daf7f27defe1ca724e265f723d10e7681
Author: Eric Botcazou <ebotca...@adacore.com>
Date:   Sat Oct 26 15:16:57 2024 +0200

    Fix old glitch in the GNAT Reference Manual
    
    gcc/ada
            PR ada/62122
            * doc/gnat_rm/implementation_defined_attributes.rst
            (Unrestricted_Access): Remove null exclusion.
            * gnat_rm.texi: Regenerate.

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

diff --git a/gcc/ada/doc/gnat_rm/implementation_defined_attributes.rst 
b/gcc/ada/doc/gnat_rm/implementation_defined_attributes.rst
index 2db245a0b884..f0518106853f 100644
--- a/gcc/ada/doc/gnat_rm/implementation_defined_attributes.rst
+++ b/gcc/ada/doc/gnat_rm/implementation_defined_attributes.rst
@@ -1382,7 +1382,7 @@ has returned, such calls are erroneous. For example:
 
   package body P is
 
-     type Less_Nested is not null access procedure;
+     type Less_Nested is access procedure;
      Global : Less_Nested;
 
      procedure P1 is
diff --git a/gcc/ada/gnat_rm.texi b/gcc/ada/gnat_rm.texi
index 4bcdcf6781d4..647207f89e9d 100644
--- a/gcc/ada/gnat_rm.texi
+++ b/gcc/ada/gnat_rm.texi
@@ -12066,7 +12066,7 @@ has returned, such calls are erroneous. For example:
 @example
 package body P is
 
-   type Less_Nested is not null access procedure;
+   type Less_Nested is access procedure;
    Global : Less_Nested;
 
    procedure P1 is

Reply via email to