diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2020-12-13 23:32:29 +0100 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2021-04-29 04:00:44 -0400 |
commit | 4345c9e79ec17c066b4d2d46dd547adbe8fa5e1d (patch) | |
tree | ed9ba605187cb558c1d49a6a4c3d66544340d1b6 /gcc/expr.c | |
parent | db3be1483913399077878b763e732f2c5c7e749d (diff) | |
download | gcc-4345c9e79ec17c066b4d2d46dd547adbe8fa5e1d.zip gcc-4345c9e79ec17c066b4d2d46dd547adbe8fa5e1d.tar.gz gcc-4345c9e79ec17c066b4d2d46dd547adbe8fa5e1d.tar.bz2 |
[Ada] Reimplement Pred and Succ atttributes for floating-point types
gcc/ada/
* libgnat/s-fatgen.adb: Remove with clause for Interfaces and
use type clauses for Interfaces.Unsigned_{16,32,64}.
(Small16): Remove.
(Small32): Likewise
(Small64): Likewise.
(Small80): Likewise.
(Tiny16): Likewise.
(Tiny32): Likewise.
(Tiny64): Likewise.
(Tiny80): Likewise.
(Siz): Always use 16.
(NR): New constant.
(Rep_Last): Use it in the computation.
(Exp_Factor): Remove special case for 80-bit.
(Sign_Mask): Likewise.
(Finite_Succ): New function implementing the Succ attribute for
finite numbers.
(Pred): Rewrite in terms of Finite_Succ.
(Succ): Likewise.
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions