This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/30816] gfortran.dg/g77/intrinsic-unix-erf.f tests fail with optimization



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]