diff options
author | Nicolas Roche <roche@adacore.com> | 2019-07-22 13:56:59 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2019-07-22 13:56:59 +0000 |
commit | 7ddc639b7717278075ab1989568d1769ccc040e1 (patch) | |
tree | 1477f342b83f62fafa3f575a5875330166c756b8 /gcc/tree-cfg.c | |
parent | 52860cc145a7075a9f30840703f96b242cd0150f (diff) | |
download | gcc-7ddc639b7717278075ab1989568d1769ccc040e1.zip gcc-7ddc639b7717278075ab1989568d1769ccc040e1.tar.gz gcc-7ddc639b7717278075ab1989568d1769ccc040e1.tar.bz2 |
[Ada] Ensure meaningless digits in a string are discarded
2019-07-22 Nicolas Roche <roche@adacore.com>
gcc/ada/
* libgnat/s-valrea.adb (Scan_Real): Ignore non significative
digits to avoid converging to infinity in some cases.
gcc/testsuite/
* gnat.dg/float_value1.adb: New testcase.
From-SVN: r273675
Diffstat (limited to 'gcc/tree-cfg.c')
0 files changed, 0 insertions, 0 deletions