This is the mail archive of the 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/29335] transcendental functions with constant arguments should be resolved at compile-time

------- Comment #2 from kargl at gcc dot gnu dot org  2006-10-05 17:54 -------
(In reply to comment #0)
> 1.  Whether a certain minimum version of GMP/MPFR is required to avoid known
> bugs, etc.

See my recent patch to toplevel  THe minimum required 
versions should be gmp-4.1.x and mpfr-2.2.0.

> 2.  Whether we should include GMP/MPFR in the svn archive like we do for intl
> and zlib.

I think that gmp and mpfr would need to be imported into GCC.  If you read the
gmp webpage, it often contains warnings about using newer versions of GCC to 
gmp because of bugs.

> 3.  Whether GMP/MPFR works on all the platforms/configurations that GCC
> supports.  Are we ready to require a GMP/MPFR port for every port of GCC?
> 4.  If we don't do #2 and there is no system GMP/MPFR or the system lib is too
> old, or if we trip over #3 and can't have GMP/MPFR, then what?  Do we require
> the user to go get/port it, or silently eliminate this optimization during the
> build process?

I could be mistaken, but I believe one can configure gmp for a generic library
that does not use any machine (ie., cpu) specific assembly.

If you haven't read fortran/{arith.c,simplify.c}, then I'd suggest
that you take a look to see what gmp/mpfr can do.


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