aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2020-12-14 15:58:49 +0100
committerPierre-Marie de Rodat <derodat@adacore.com>2021-04-29 04:00:44 -0400
commita5f38dd83e88a6f2325798cd46a1b5ed5107e2ce (patch)
tree509101f8a922aaa9e91060cd7d3def81cc26e9c8 /gcc/expr.c
parent4345c9e79ec17c066b4d2d46dd547adbe8fa5e1d (diff)
downloadgcc-a5f38dd83e88a6f2325798cd46a1b5ed5107e2ce.zip
gcc-a5f38dd83e88a6f2325798cd46a1b5ed5107e2ce.tar.gz
gcc-a5f38dd83e88a6f2325798cd46a1b5ed5107e2ce.tar.bz2
[Ada] Fix static computation of 'Succ for floating point without denormals
gcc/ada/ * eval_fat.adb (Succ): Add a special case for zero if the type does not support denormalized numbers. Always use the canonical formula in other cases and add commentary throughout the function.
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions