diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2020-11-27 19:52:35 +0100 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-12-16 08:01:01 -0500 |
commit | e8070c83ab40c11447ecd42f467041d65df4e807 (patch) | |
tree | 18b2f139797853e084c6c00e34ed5bf9d07be566 /gcc/tree-ssa-alias.c | |
parent | a0d40c5c325e39f2c9365dafd86850d089eea118 (diff) | |
download | gcc-e8070c83ab40c11447ecd42f467041d65df4e807.zip gcc-e8070c83ab40c11447ecd42f467041d65df4e807.tar.gz gcc-e8070c83ab40c11447ecd42f467041d65df4e807.tar.bz2 |
[Ada] Avoid artificial underflow in System.Val_Real
gcc/ada/
* libgnat/s-valrea.adb (Maxexp32): New constant array.
(Maxexp64): Likewise.
(Maxexp80): Likewise.
(Integer_to_Real): New local constants Maxexp and B.
When the exponent is too negative, do the divison in two steps.
Diffstat (limited to 'gcc/tree-ssa-alias.c')
0 files changed, 0 insertions, 0 deletions