checks.adb (Apply_Float_Conversion_Check): If the expression to be converted is a...
commit44114dff15f7dd78e05b31920beee7d56a7dc03c
authorEd Schonberg <schonberg@adacore.com>
Fri, 1 Aug 2008 09:02:44 +0000 (1 11:02 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 1 Aug 2008 09:02:44 +0000 (1 11:02 +0200)
treed764922d7874c29d0afee9da316ce2c0ab88b390
parentb43112145089bb0bc42ac48dfb0900a73d47aef4
checks.adb (Apply_Float_Conversion_Check): If the expression to be converted is a real literal and the target type has...

2008-08-01  Ed Schonberg  <schonberg@adacore.com>

* checks.adb (Apply_Float_Conversion_Check): If the expression to be
converted is a real literal and the target type has static bounds,
perform the conversion exactly to prevent floating-point anomalies on
some targets.

From-SVN: r138486
gcc/ada/checks.adb