This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r138486 - /trunk/gcc/ada/checks.adb
- From: charlet at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 01 Aug 2008 09:02:45 -0000
- Subject: r138486 - /trunk/gcc/ada/checks.adb
Author: charlet
Date: Fri Aug 1 09:02:44 2008
New Revision: 138486
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=138486
Log:
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.
Modified:
trunk/gcc/ada/checks.adb