From ecf80e7daf7f27defe1ca724e265f723d10e7681 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Sat, 26 Oct 2024 15:16:57 +0200 Subject: [PATCH] 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. --- 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 -- 2.47.2