(j3.2006) Compilers disagree

Robert Corbett Robert.Corbett
Tue Oct 27 15:17:57 EDT 2009


dick.hendrickson at att.net wrote:
> 
>  I think it's paragraph 7 on the top of page 151 in specification 
> expressions.
> 
> Dick Hendrickson

I agree that covers the case and the code fragment is not
standard conforming.  Because the restriction is not a
constraint, there is no requirement for a standard-conforming
processor to diagnose the nonstandard usage.

Bob Corbett

>     -------------- Original message from Van Snyder
>     <Van.Snyder at jpl.nasa.gov>: --------------
> 
> 
>      > My compilers disagree concerning whether this is legal:
>      >
>      > subroutine before ( A, N )
>      > implicit NONE
>      > real A(N)
>      > integer N
>      > end subroutine before
>      >
>      > I thought the declaration for N had to precede its use in the
>      > declaration for A, but I can't find the relevant requirement.
>      >
>      > Is it there, or am I imagining it?
>      >
>      > --
>      > Van Snyder | What fraction of Americans believe
>      > Van.Snyder at jpl.nasa.gov | Wrestling is real and NASA is fake?
>      > Any alleged opinions are my own and have not been approved or
>      > disapproved by JPL, CalTech, NASA, the President, or anybody else.
>      >
>      > _______________________________________________
>      > J3 mailing list
>      > J3 at j3-fortran.org
>      > http://j3-fortran.org/mailman/listinfo/j3 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> J3 mailing list
> J3 at j3-fortran.org
> http://j3-fortran.org/mailman/listinfo/j3




More information about the J3 mailing list