[Ada] Adapt proof of runtime unit s-arit32
After changes in GNATprove, adapt proof. Simply move an assertion up before it is first needed here. gcc/ada/ * libgnat/s-arit32.adb (Scaled_Divide32): Move assertion up.
This commit is contained in:
parent
5b7630f2f2
commit
1ea22318ca
@ -474,6 +474,7 @@ is
|
||||
|
||||
D := Uns64 (Xu) * Uns64 (Yu);
|
||||
|
||||
Lemma_Abs_Mult_Commutation (Big (X), Big (Y));
|
||||
pragma Assert (Mult = Big (D));
|
||||
Lemma_Hi_Lo (D, Hi (D), Lo (D));
|
||||
pragma Assert (Mult = Big_2xx32 * Big (Hi (D)) + Big (Lo (D)));
|
||||
@ -508,7 +509,6 @@ is
|
||||
|
||||
Lemma_Abs_Div_Commutation (Big (X) * Big (Y), Big (Z));
|
||||
Lemma_Abs_Rem_Commutation (Big (X) * Big (Y), Big (Z));
|
||||
Lemma_Abs_Mult_Commutation (Big (X), Big (Y));
|
||||
Lemma_Abs_Commutation (X);
|
||||
Lemma_Abs_Commutation (Y);
|
||||
Lemma_Abs_Commutation (Z);
|
||||
|
Loading…
Reference in New Issue
Block a user