[Ada] Refine type of a counter object from Int to Nat
authorPiotr Trojanek <trojanek@adacore.com>
Thu, 31 Dec 2020 14:02:36 +0000 (15:02 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 3 May 2021 09:28:28 +0000 (05:28 -0400)
commit02248717b775056ce6aa2e6847414c8a698145ec
tree2fe4ae52784edce6e18852ec230a67bfa7b8950f
parent13b26a958071d818e051f4b3230d381ec974772a
[Ada] Refine type of a counter object from Int to Nat

gcc/ada/

* exp_ch7.adb (Build_Finalize_Statements): Refine type of a
local counter variable.
* exp_dist.adb (Append_Record_Traversal): Refine type of Counter
parameter.
(Add_Process_Element): Likewise.
(Build_From_Any_Call): Refine type of a local counter variable.
(Build_From_Any_Function): Likewise.
(Build_To_Any_Function): Likewise.
(FA_Rec_Add_Process_Element): Likewise.
(TA_Append_Record_Traversal): Likewise.
(TA_Rec_Add_Process_Element): Likewise.
gcc/ada/exp_ch7.adb
gcc/ada/exp_dist.adb