Alan.Miller @ vic.cmis.CSIRO.AU = Alan Miller, Honorary Research Fellow
(Retired) wrote:
>
> After many hours, I found the following problem in a program.
> In the calling routine:
> CALL sub( ..., a, a)
>
> The called subroutine started:
> SUBROUTINE sub( ..., x, y)
> REAL, INTENT(IN) :: x(:)
> REAL, INTENT(OUT) :: y(:)
>
> Does the F90 standard (or F95) specifically address this problem?
>
This is non-standard in F90, F95, and F77 for that matter. The problems
you describe are the reason it is non-standard.
Tony
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|