]> git.ipfire.org Git - thirdparty/gcc.git/commit - configure
re PR fortran/28276 (EXPONENT() broken for real constants)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Wed, 27 Sep 2006 20:15:22 +0000 (20:15 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Wed, 27 Sep 2006 20:15:22 +0000 (20:15 +0000)
commite48d66a949a0ea367bb3df15df5f345f46184d9f
tree3792a732440b9bb02382ecb8b58e6ed8d955c8f9
parentc394e8918d7d752d9f8a6aba037ab6c7647ab483
re PR fortran/28276 (EXPONENT() broken for real constants)

* configure.in: Check for GMP 4.1 or newer.  Check for MPFR 2.2.0
or newer.
* configure: Regenerated.
* doc/install.texi: Document required versions of GMP and MPFR.
* fortran/arith.c: Conditionally include arctangent2().
(gfc_check_real_range): Use mpfr_subnormalize in preference to local
hack.
* fortran/trans-intrinsic.c (gfc_get_intrinsic_lib_fndecl): Append
l for long double functions.
* fortran/simplify.c: Wrap Copyright to new line.
(gfc_simplify_atan2): Use mpfr_atan2 in preference to arctangent2().
        (gfc_simplify_log): Ditto.

PR fortran/28276
* fortran/simplify.c (gfc_simplify_exponent): Use mpfr_get_exp in
preference to broken local hack.

PR fortran/27021
* fortran/simplify.c (gfc_simplify_nearest): Use mpfr_nexttoward and
mpfr_subnormalize to handle numbers near zero in preference to broken
 local hack.

PR fortran/28276
* testsuite/gfortran.dg/exponent_1.f90: New test.

PR fortran/27021
* testsuite/gfortran.dg/nearest_1.f90: New test.

From-SVN: r117257
12 files changed:
ChangeLog
configure
configure.in
gcc/ChangeLog
gcc/doc/install.texi
gcc/fortran/ChangeLog
gcc/fortran/arith.c
gcc/fortran/simplify.c
gcc/fortran/trans-intrinsic.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/exponent_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/nearest_1.f90 [new file with mode: 0644]