[PATCH]: Integrate gfortran with MPC
Steve Kargl
sgk@troutmask.apl.washington.edu
Tue May 26 17:14:00 GMT 2009
On Tue, May 26, 2009 at 09:45:47AM -0700, Kaveh R. Ghazi wrote:
> From: "Steve Kargl" <sgk@troutmask.apl.washington.edu>
>
> >Sorry about the delay. The patch appears to work, and
> >you've obviously shown due diligence in going over the
> >patch. It's OK to commit.
> >Steve
>
> Thanks, installed.
BTW, once mpc becomes mandatory, I plan to change gfc_expr as
follows:
troutmask:sgk[225] diff -u gfortran.h.orig gfortran.h
--- gfortran.h.orig 2009-05-26 10:06:24.000000000 -0700
+++ gfortran.h 2009-05-26 10:09:03.000000000 -0700
@@ -1613,11 +1613,7 @@
mpfr_t real;
- struct
- {
- mpfr_t r, i;
- }
- complex;
+ mpc_t complex;
struct
{
which of course leads to a large amount of changes in at
least arith.c, simplify.c, and few of the trans-*.c files.
The ultimate goal is not only the better accuracy provided
by mpc, but a code reduction.
--
Steve
More information about the Gcc-patches
mailing list