]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Update proof of runtime units
authorYannick Moy <moy@adacore.com>
Mon, 23 Jan 2023 17:09:40 +0000 (17:09 +0000)
committerMarc Poulhiès <poulhies@adacore.com>
Tue, 16 May 2023 08:30:58 +0000 (10:30 +0200)
commit8ebdd4431829c61228ec92f906cb9f7a2141325f
tree78ce2d490bd043318ff355a2f4ff8666612be803
parentbac7eb85ef0caca4e55b362f688776dbea14feb9
ada: Update proof of runtime units

Following changes in GNATprove, proofs need to be amended.

gcc/ada/

* libgnat/s-aridou.adb (Lemma_Div_Pow2): Add assertion.
* libgnat/s-arit32.adb (Lemma_Abs_Div_Commutation): Simplify.
* libgnat/s-expmod.adb (Lemma_Exp_Mod): Add assertions.
(Lemma_Euclidean_Mod): Add body to lemma.
(Lemma_Mult_Mod): Add assertion.
* libgnat/s-valueu.adb (Scan_Raw_Unsigned): Modify assertion.
* libgnat/s-vauspe.ads (Raw_Unsigned_Last_Ghost): Add
postcondition.
* libgnat/s-widthi.adb: Use more precise types.
gcc/ada/libgnat/s-aridou.adb
gcc/ada/libgnat/s-arit32.adb
gcc/ada/libgnat/s-expmod.adb
gcc/ada/libgnat/s-valueu.adb
gcc/ada/libgnat/s-vauspe.ads
gcc/ada/libgnat/s-widthi.adb