This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/17174] Fortran nearest broken on AIX
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Oct 2006 19:14:15 -0000
- Subject: [Bug target/17174] Fortran nearest broken on AIX
- References: <bug-17174-327@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from kargl at gcc dot gnu dot org 2006-10-03 19:14 -------
(In reply to comment #1)
> I think ia64-hp-hpux11.23 is having a problem here too. I get a failure with
> the test gfortran.dg/large_real_kind_form_io_2.f90, which uses the nearest
> intrinsic. I use mpfr 2.2 to build. I think the bug may be with mpfr 2.2
> only. gfc_simplify_nearest is ifdef'ed to do something different when using
> mpfr 2.2 than with older mpfr's.
>
The ifdef appeared long after David's initial bug report, which suggests
the problem is with AIX's libm's nextafter routine.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17174