[Ada] Unrecursify Set_Digit/Set_Image_Unsigned procedure
authorLiaiss Merzougue <merzougue@adacore.com>
Thu, 8 Oct 2020 15:26:11 +0000 (15:26 +0000)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 25 Nov 2020 13:22:25 +0000 (08:22 -0500)
commitcf4737dcec18336b735a46d524bd8ef056e3d245
tree3d9cd601e10616588a6be5c73232eb86b9e7db72
parent6b0c5c722709d41d2c7a9ccacb7a4f0cf3bd38e2
[Ada] Unrecursify Set_Digit/Set_Image_Unsigned procedure

gcc/ada/

* libgnat/s-imagei.adb
(Set_Digits): Rewrite the procedure to remove recursion.
(Image_Integer, Set_Image_Integer): Update assertions and remove
redundant ones.
* libgnat/s-imageu.adb
(Set_Image_Unsigned): Rewrite the procedure to remove recursion.
gcc/ada/libgnat/s-imagei.adb
gcc/ada/libgnat/s-imageu.adb