]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Document change to legality checks for Inox case statements
authorSteve Baird <baird@adacore.com>
Tue, 9 Aug 2022 16:51:41 +0000 (09:51 -0700)
committerMarc Poulhiès <poulhies@adacore.com>
Tue, 6 Sep 2022 07:14:21 +0000 (09:14 +0200)
commitaed54a141a74b1752a5ba052f2ef151940867201
tree19b4c45434202b77cd75f3f54f27ea161f1918c0
parent1dbaf0d99c37024dcfafa73366c32a206e8f21a2
[Ada] Document change to legality checks for Inox case statements

INOX (which is enabled via -gnatX) supports composite case-statement selectors.
As a temporary measure, simplify the coverage-related compile-time checks
for such case statements via two changes: an others choice is always
required for such a case statement, and no legality checks relating to
overlapping of case choices are performed.

gcc/ada/

* doc/gnat_rm/implementation_defined_pragmas.rst: Document new
temporary rule that a "when others =>" case choice must be given
when casing on a composite selector.
* gnat_rm.texi: Regenerate.
gcc/ada/doc/gnat_rm/implementation_defined_pragmas.rst
gcc/ada/gnat_rm.texi