[Ada] Add contracts to Strings libraries

Pierre-Marie de Rodat derodat@adacore.com
Wed Jul 10 09:39:00 GMT 2019


This patch adds contracts to Ada.Strings libraries, in order to remove
warnings when using these libraries in SPARK.

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

2019-07-10  Joffrey Huguet  <huguet@adacore.com>

gcc/ada/

	* libgnat/a-strbou.ads, libgnat/a-strfix.ads,
	libgnat/a-strunb.ads, libgnat/a-strunb__shared.ads: Add global
	contracts, contract cases, preconditions and postconditions to
	procedures and functions.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff.gz
Type: application/gzip
Size: 8435 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20190710/50d1a4ab/attachment.gz>


More information about the Gcc-patches mailing list