]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Clear confusion about Standard'Maximum_Alignment
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 22 Oct 2025 17:59:54 +0000 (19:59 +0200)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Thu, 13 Nov 2025 15:26:57 +0000 (16:26 +0100)
commite77d45d70e6c80f0bbdafeec20298a08da715048
tree0f217e449c1d69149a0a5839a5f3a52fd6098460
parent7c375b3732d1460817f148a3c9071a1610cffbbb
ada: Clear confusion about Standard'Maximum_Alignment

This documents the meaning of Standard'Maximum_Alignment as it has been
implemented in the GCC-based compiler for more than a decade.

gcc/ada/ChangeLog:

* doc/gnat_rm/implementation_defined_attributes.rst
(Maximum_Alignment): Fix description.
* doc/gnat_rm/representation_clauses_and_pragmas.rst
(Alignment Clauses): Adjust accordingly.
* checks.adb (Apply_Address_Clause_Check): Remove incorrect test on
Maximum_Alignment.
* sem_ch13.adb (Analyze_Attribute_Definition_Clause): Minor tweak
in comment.
* ttypes.ads (Maximum_Alignment): Fix description.
* gnat_rm.texi: Regenerate.
gcc/ada/checks.adb
gcc/ada/doc/gnat_rm/implementation_defined_attributes.rst
gcc/ada/doc/gnat_rm/representation_clauses_and_pragmas.rst
gcc/ada/gnat_rm.texi
gcc/ada/sem_ch13.adb
gcc/ada/ttypes.ads