[Ada] Couple of small tweaks related to integer conversions
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 14 Apr 2020 09:20:18 +0000 (11:20 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 17 Jun 2020 08:14:10 +0000 (04:14 -0400)
commit4ea4df3af88f33686813b7db70fbe3e37b7dfecc
tree2ae2de613708ba0668fbe8bc618fe7014934098e
parentc3a2dc654c8e9474dbf0de2da168cd7816eae813
[Ada] Couple of small tweaks related to integer conversions

2020-06-17  Eric Botcazou  <ebotcazou@adacore.com>

gcc/ada/

* exp_attr.adb (Get_Integer_Type): Use standard types without
a specific size.
* sem_res.adb (Resolve_Unchecked_Type_Conversion): Remove a
redundant intermediate conversion to Universal_Integer.
gcc/ada/exp_attr.adb
gcc/ada/sem_res.adb