FX wrote:
> For a few months now, I've seen a failure of gfortran.dg/ nearest_4.f90 on my
> x86_64-linux build machine; the fact that noone else saw it, I suppose, is
> because I use GMP and MPFR built with internal checking (assertions) enabled.
> The following patch fixes it:

+  mpfr_check_range (result->value.real, 0, GMP_RNDU);
[...]
+ mpfr_check_range (q, 0, GFC_RND_MODE);

See http://gcc.gnu.org/ml/fortran/2008-04/msg00300.html


-- 
           Summary: Call mpfr_check_range after setting emin/emax
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: patch
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37803

Reply via email to