Problem with LOC intrinsic for assumed size arrays
Andrew Pinski
pinskia@physics.uc.edu
Tue Jan 24 22:57:00 GMT 2006
On Jan 24, 2006, at 5:43 PM, Mark Hesselink wrote:
>
> I am so sorry. Yes, of course it is supposed to be LOC(x). Changing
> the line ``address=LOC(*)'' to ``address=LOC(x)'' produces the
> following result:
>
> [aardschokker:fms/trunk/obj] mark% /usr/local/bin/gfortran -c loc_1.f90
> In file loc_1.f90:6
>
> address=LOC(x)
> 1
> Error: The upper bound in the last dimension must appear in the
> reference to the assumed size array 'x' at (1).
>
> Thanks,
I know where the problem is, present for the same problem.
Can you file a bug? And I might get to it tomorrow.
Thanks,
Andrew Pinski
More information about the Fortran
mailing list