------- Comment #3 from ghazi at gcc dot gnu dot org 2007-02-16 03:44 ------- I'll try to help but I don't think this has anything to do with my patches. Fortran was using mpfr for evaluating intrinsics way before I touched anything, and I believe it uses it's own historical mechanism from it's frontend for accessing mpfr, unrelated to the middle-end builtins which I added.
Some thoughts: 1. I don't see the error on sparc-sun-solaris2.10 (as of yesterday), and I can't find any other recent testresults that have the problem besides ppc-darwin. It may be darwin-specific. 2. Please include a longer backtrace. This will help answer whether mpfr_erf is called from the middle end (my stuff) or from the fortran frontend. 3. I'm suspicious about the mpfr you grabbed. Try building mpfr yourself from source and run it's testsuite to make sure it's healthy. Then link gcc with that and retry. I seem to recall Geoff had some problems on the darwin regression tester and had to build mpfr using cpu type "none". My memory of this is kind of foggy from many months ago. So I'm not sure really, but a miscompiled mpfr would be my first guess. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30816