> > > So, now if I tell you that despite all reports that it 'works fine', > > I'm getting > > > > > FAIL: gcc.dg/torture/builtin-sin-mpfr-1.c -O0 (test for excess > > > errors) > > > > do you think this is likely to be: > > 1. some problem in gmp or mpfr, > > 2. some problem in my build of gmp and/or mpfr, that wouldn't occur > > if I'd built it in some other (unspecified) way, > > 3. some problem in my existing system configuration, maybe I already > > have a gmp installed that is somehow conflicting, or > > 4. a well-known but not serious bug in GCC's Darwin port? > > > > It turns out the answer is 4, at least I think it is. > > Actually it is a bug in mpfr which is fixed in the cumulative patch.
http://gcc.gnu.org/ml/gcc-patches/2006-10/msg01175.html Note thata testcase has the following comment: /* Version 2.2.0 of MPFR had bugs in sin rounding. This test checks to see if that buggy version was installed. The problem is fixed in the MPFR cumulative patch http://www.mpfr.org/mpfr-current and presumably later MPFR versions. Origin: Kaveh R. Ghazi 10/23/2006. */ So ... -- Pinski