diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2020-12-10 21:02:07 +0100 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2021-04-28 05:38:17 -0400 |
commit | 4e60fea9206696782e2292419da9add02d0b609c (patch) | |
tree | 3ddf5943f6100c84999f3d06650f760d35bd0d87 /gcc/fortran/trans-expr.c | |
parent | 33d1be873954bc387387c2f9462fa0139157a182 (diff) | |
download | gcc-4e60fea9206696782e2292419da9add02d0b609c.zip gcc-4e60fea9206696782e2292419da9add02d0b609c.tar.gz gcc-4e60fea9206696782e2292419da9add02d0b609c.tar.bz2 |
[Ada] Fix computation of Prec/Succ of zero without denormals
gcc/ada/
* libgnat/s-fatgen.adb: Add use clause for Interfaces.Unsigned_16
and Interfaces.Unsigned_32.
(Small16): New constant.
(Small32): Likewise.
(Small64): Likewise.
(Small80): Likewise.
(Pred): Declare a local overlay for Small and return it negated
for zero if the type does not support denormalized numbers.
(Succ): Likewise, but return it directly.
Diffstat (limited to 'gcc/fortran/trans-expr.c')
0 files changed, 0 insertions, 0 deletions