At 04:52 AM 11/20/2004, Stuart Midgley wrote:
>Hi Greg
>
>The 2003 standard helps my F90 and F95 compilers ;)
>
>What does the PathScale compiler do? I suspected it wasn't standard (I
>would never write such an expression in my code, it was sent to me as a
>bug in my fortran function parser/scripting language) but was quite amazed
>to see that 1/2 the compilers I have access to demonstrated a problem.
Which do you consider to be a problem, the standard which leaves it up to
the compiler as to which flags have to be thrown to diagnose extensions, or
the compilers which implement extensions? Both?
What is your advice about how to reply to e-mails with mixed top and bottom
posting?
> > On Sat, Nov 20, 2004 at 01:57:06PM +1100, Stuart Midgley wrote:
> >
> >> program test
> >> write(*,*) 1d-1/-2d-1
> >> end program test
> >
> > Stuart,
> >
> > In the 2003 draft standard, table 7.7 shows that the precedence of / is
> > higher than that of unary -. So this isn't a valid expression, you need
> > ().
> >
> > -- greg
> >
> >
Tim Prince
|