[Ada] Fix proof of runtime unit s-imageu

Update to provers caused some proof regressions.  Fix the proof by
adding an assertion.

gcc/ada/

	* libgnat/s-imageu.adb (Set_Image_Unsigned): Change assertion.
This commit is contained in:
Claire Dross 2022-04-11 14:10:49 +02:00 committed by Pierre-Marie de Rodat
parent 17cd8bf5a4
commit 9f068ad0f2
1 changed files with 1 additions and 8 deletions

View File

@ -390,16 +390,9 @@ package body System.Image_U is
Acc => Value)
= Wrap_Option (V));
end loop;
pragma Assert (Value = 0);
Prove_Unchanged;
pragma Assert
(Scan_Based_Number_Ghost
(Str => S,
From => P + 1,
To => P + Nb_Digits,
Base => 10,
Acc => Value)
= Wrap_Option (V));
P := P + Nb_Digits;
end Set_Image_Unsigned;