diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2019-12-22 19:37:20 +0100 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-06-02 04:58:20 -0400 |
commit | 6a987d785122fb015aac527e927818bdc9975a7b (patch) | |
tree | a81f8f86b9718d479b7f992bc38ea84d4f38b6d7 /gcc/ada/rtfinal.c | |
parent | 7b976a0de9d9e130a546dc637ddd52540a577f18 (diff) | |
download | gcc-6a987d785122fb015aac527e927818bdc9975a7b.zip gcc-6a987d785122fb015aac527e927818bdc9975a7b.tar.gz gcc-6a987d785122fb015aac527e927818bdc9975a7b.tar.bz2 |
[Ada] Get rid of more references to Universal_Integer in expanded code
2020-06-02 Eric Botcazou <ebotcazou@adacore.com>
gcc/ada/
* exp_aggr.adb (Others_Check): In the positional case, use the
general expression for the comparison only when needed.
* exp_attr.adb (Expand_Fpt_Attribute;): Use a simple conversion
to the target type instead of an unchecked conversion to the
base type to do the range check, as in the other cases.
(Expand_N_Attribute_Reference) <Attribute_Storage_Size>: Do the
Max operation in the type of the storage size variable, and use
Convert_To as in the other cases.
* tbuild.adb (Convert_To): Do not get rid of an intermediate
conversion to Universal_Integer here...
* sem_res.adb (Simplify_Type_Conversion): ...but here instead.
Diffstat (limited to 'gcc/ada/rtfinal.c')
0 files changed, 0 insertions, 0 deletions