[Ada] Clarify protection offered by preconditions on Ada.Text_IO units

Pierre-Marie de Rodat derodat@adacore.com
Mon Oct 19 09:54:22 GMT 2020


These preconditions are used in particular for analysis by SPARK tools.
It is thus important that they precisely convey which errors they allow
detecting, in callers of Ada.Text_IO. Here, Layout_Error cannot be
detected in a number of cases.

Tested on x86_64-pc-linux-gnu, committed on trunk

gcc/ada/

	* libgnat/a-textio.ads: Update top-level comment.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 762 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20201019/c6f0eefc/attachment-0001.bin>


More information about the Gcc-patches mailing list