diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2020-11-18 21:42:18 +0100 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-12-14 10:51:50 -0500 |
commit | 32543637450cd686a193fafc681501e930b66088 (patch) | |
tree | f94651e3cd22a1334a315956b69e50b6e51a94f1 /gcc/gcov.c | |
parent | c2dc9fb66147830f1ca83206543bbef7f3966a40 (diff) | |
download | gcc-32543637450cd686a193fafc681501e930b66088.zip gcc-32543637450cd686a193fafc681501e930b66088.tar.gz gcc-32543637450cd686a193fafc681501e930b66088.tar.bz2 |
[Ada] Fix couple of bugs in the implementation of Round attribute
gcc/ada/
* exp_attr.adb (Expand_N_Attribute_Reference) <Attribute_Round>:
Adjust commentary and set the Rounded_Result flag on the type
conversion node when the node is needed.
* exp_ch4.adb (Expand_N_Type_Conversion): Minor tweak.
(Fixup_Universal_Fixed_Operation): Look through the type conversion
only when it is to Universal_Real.
* exp_fixd.adb: Remove with and use clauses for Snames.
(Build_Divide): Remove redundant test.
(Expand_Convert_Float_To_Fixed): Use Rounded_Result flag on the
node to set the truncation parameter.
Diffstat (limited to 'gcc/gcov.c')
0 files changed, 0 insertions, 0 deletions