]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Proof of System.Generic_Array_Operations at silver level
authorYannick Moy <moy@adacore.com>
Wed, 8 Dec 2021 14:09:25 +0000 (09:09 -0500)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 6 Jan 2022 17:11:41 +0000 (17:11 +0000)
commit42dd6f60d8fefe1b026989d78eabf0108c528e4b
tree7b686a5d340f20a1b1500b95aa472ec5d4003ce5
parentd2bc32602c58f14cddc8634fe36141137e2861d1
[Ada] Proof of System.Generic_Array_Operations at silver level

gcc/ada/

* libgnat/a-ngcoar.adb: Add pragma to ignore assertions in
instance.
* libgnat/a-ngrear.adb: Likewise.
* libgnat/s-gearop.adb: Prove implementation is free of runtime
errors.
* libgnat/s-gearop.ads: Add contracts to protect against runtime
errors in the generic part.
gcc/ada/libgnat/a-ngcoar.adb
gcc/ada/libgnat/a-ngrear.adb
gcc/ada/libgnat/s-gearop.adb
gcc/ada/libgnat/s-gearop.ads