This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix the -d8 options in gfortran
On Wed, Mar 09, 2005 at 04:00:02PM +0000, Paul Brook wrote:
> 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.
> > >
> >
> > 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.
>
Fine. I withdraw my patch. It is unfortunate that neither
you nor Toon put a comment in options.c some 54 days ago.
It would have saved me several hours of hacking.
--
Steve