]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Further adapt proof of double arithmetic runtime unit
authorYannick Moy <moy@adacore.com>
Mon, 11 Apr 2022 15:56:01 +0000 (15:56 +0000)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 19 May 2022 14:05:29 +0000 (14:05 +0000)
commit054cf924ac00a47301a1c49f6433f70775fe1c0d
treec4b9ea9836b00503a8617c66309c39cdedddfecc
parent88f7b07de7579251f5134b65dad406fdfda3d057
[Ada] Further 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 (Lemma_Abs_Range,
Lemma_Double_Shift_Left, Lemma_Shift_Left): New lemmas.
(Double_Divide): Add ghost code.
(Lemma_Concat_Definition, Lemma_Double_Shift_Left,
Lemma_Shift_Left, Lemma_Shift_Right): Define or complete lemmas.
(Scaled_Divide): Add ghost code.
gcc/ada/libgnat/s-aridou.adb