]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Adapt proof of double arithmetic runtime unit
authorYannick Moy <moy@adacore.com>
Fri, 8 Apr 2022 15:24:49 +0000 (15:24 +0000)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 18 May 2022 08:41:08 +0000 (08:41 +0000)
commitc6c9b82bc17e957c621bfb58e33801f956c7c31c
treeea0dac41b2513219767f914c701fda45f064dfb6
parent6f8f9d1bcf55187cb81ef7b0ef1e23db1bc0d440
[Ada] Adapt proof of double arithmetic runtime unit

After changes in Why3 and generation of VCs, ghost code needs to be
adapted for proofs to remain automatic.

gcc/ada/

* libgnat/s-aridou.adb (Big3): Change return type.
(Lemma_Mult_Non_Negative, Lemma_Mult_Non_Positive): Reorder
alphabetically.
(Lemma_Concat_Definition, Lemma_Double_Big_2xxsingle): New
lemmas.
(Double_Divide, Scaled_Divide): Add assertions.
gcc/ada/libgnat/s-aridou.adb