From: Piotr Trojanek Date: Fri, 8 Apr 2022 21:27:24 +0000 (+0200) Subject: [Ada] Remove repeated description of support for Address clauses X-Git-Tag: basepoints/gcc-14~6360 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f29dfcec26d883cb2d3d7ccdfc09bde1afcfa2e;p=thirdparty%2Fgcc.git [Ada] Remove repeated description of support for Address clauses The GNAT behaviour regarding the Ada RM requirement to support Address clauses for imported subprograms was documented twice: in section about packed types (which was a mistake) and in section about address clauses (where it belongs). Cleanup related to the use of packed arrays for bitset operations to detect uses of uninitialized scalars in GNAT. gcc/ada/ * doc/gnat_rm/implementation_advice.rst (Packed Types): Remove duplicated and wrongly placed paragraph. * gnat_rm.texi: Regenerate. --- diff --git a/gcc/ada/doc/gnat_rm/implementation_advice.rst b/gcc/ada/doc/gnat_rm/implementation_advice.rst index e7649b09387..f2f34db6835 100644 --- a/gcc/ada/doc/gnat_rm/implementation_advice.rst +++ b/gcc/ada/doc/gnat_rm/implementation_advice.rst @@ -353,12 +353,6 @@ then values of the type are implicitly initialized to zero. This happens both for objects of the packed type, and for objects that have a subcomponent of the packed type. - - "An implementation should support Address clauses for imported - subprograms." - -Followed. - .. index:: Address clauses RM 13.3(14-19): Address Clauses diff --git a/gcc/ada/gnat_rm.texi b/gcc/ada/gnat_rm.texi index 434bd3c8e61..1fa93a36a40 100644 --- a/gcc/ada/gnat_rm.texi +++ b/gcc/ada/gnat_rm.texi @@ -14333,14 +14333,6 @@ then values of the type are implicitly initialized to zero. This happens both for objects of the packed type, and for objects that have a subcomponent of the packed type. -@quotation - -“An implementation should support Address clauses for imported -subprograms.” -@end quotation - -Followed. - @geindex Address clauses @node RM 13 3 14-19 Address Clauses,RM 13 3 29-35 Alignment Clauses,RM 13 2 6-8 Packed Types,Implementation Advice