This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [PATCH] Fix the -d8 options in gfortran
On Wednesday 09 March 2005 15:38, Steve Kargl wrote:
> On Wed, Mar 09, 2005 at 03:06:30PM +0000, Paul Brook wrote:
> > > > http://gcc.gnu.org/ml/fortran/2005-01/msg00137.html
> > >
> > > Doesn't seem relevant. Toon talks about documenting
> > > the broken behaviour. I'm actually trying to fix the
> > > problem.
> >
> > I meant the second part of the email. ie. -d8 should set
> > "DOUBLE PRECISION" to REAL*8, not be an alias for -i8 -r8.
> >
> > Paul
>
> I've implemented 1. from msg00137.html. Toon prefers 2.
> (presumably for a Cray). If you actually read the code,
> all comments suggest -d8 is equivalent to -i8 and -r8.
That was my point. The current (broken/incomplete) code implements (1), Toon
is suggesting that we should really be implementing (2).
I don't know enough crust frotran code[rs] to know which is most useful.
However implementing (1) provides a very small cosmetic convenience that can
already be achieved by other means, whereas (2) provides an additional
feature that isn't available otherwise.
Paul