This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/30816] gfortran.dg/g77/intrinsic-unix-erf.f tests fail with optimization
- From: "tobi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Feb 2007 17:12:21 -0000
- Subject: [Bug middle-end/30816] gfortran.dg/g77/intrinsic-unix-erf.f tests fail with optimization
- References: <bug-30816-8513@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #13 from tobi at gcc dot gnu dot org 2007-02-17 17:12 -------
Midair collision, I had just written this, but I do indeed have problems with
shared libraries taking precedence over others, so it looks like I'll have to
rebuild gcc once more:
OK, I tried the following:
1. I built and ran the following testcase with both a homegrown gmp/mpfr combo
and the one provided by fink, with no problems
#include <stdio.h>
#include <mpfr.h>
int main (int argc, char **argv)
{
mpfr_t x;
mpfr_init (x);
mpfr_set_ui (x, 1, GMP_RNDN);
mpfr_erf (x, x, GMP_RNDN);
mpfr_out_str (stdout, 10, 0, x, GMP_RNDN);
}
2. I rebuilt gcc with my home-built gmp and mpfr, and I'm still seeing the same
error as before
BTW the correct configure option for gmp is --build=none-apple-darwin, not
--host. You may want to put this in the documentation someplace.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30816