[Ada] Small cleanup throughout Exp_Ch4
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 27 May 2020 20:42:27 +0000 (22:42 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 10 Jul 2020 09:16:19 +0000 (05:16 -0400)
commitcbe3b8d49d07cf5eee62c3963b843f3ea931b03f
treefcd88e4ba1c4b91a9f174b86d926a17125e6c137
parent4e91f87c3e7b76af8a73b52498f76aa3aea50b69
[Ada] Small cleanup throughout Exp_Ch4

gcc/ada/

* exp_ch4.adb (Expand_Array_Comparison): Reformat.
(Expand_Concatenate): Use standard size values directly and use
Standard_Long_Long_Unsigned instead of RE_Long_Long_Unsigned.
(Expand_Modular_Op): Use Standard_Long_Long_Integer in case the
modulus is larger than Integer.
(Expand_N_Op_Expon): Use standard size value directly.
(Narrow_Large_Operation): Use Uint instead of Nat for sizes and
use a local variable for the size of the type.
(Get_Size_For_Range): Return Uint instead of Nat.
(Is_OK_For_Range): Take Uint instead of Nat.
gcc/ada/exp_ch4.adb