[PATCH]: PR29335 evaluate transcendentals at compile-time using MPFR [take 3]

Joseph S. Myers joseph@codesourcery.com
Fri Oct 20 19:27:00 GMT 2006


On Fri, 20 Oct 2006, Kaveh R. GHAZI wrote:

> Right, we can only do that when the next release of MPFR is released,
> (assuming this is an MPFR bug, and assuming the fix is included).  I'll
> get the three problematic argument values and see if I can isolate the
> problem.  It may be localized to sin, the MPFR page has a cumulative patch
> which mentions a bug in sin rounding.  I'll try that out and see if it
> fixes the bug.  But even if that fixes it, we can't put in a version check
> until the next release comes out.  I don't want to hold up this GCC
> functionality in the mean time and hopefully that wasn't your intention
> either.

My view is: put in the installation documentation the requirement for at 
least cumulative patch version n.  Put a testcase in the GCC testsuite 
that shows if your MPFR is too old.

Then, if there is no new MPFR release for which configure checks can be 
made by the time 4.3 branches, consider workarounds.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc-patches mailing list