fortran77 - Compiling legacy fortran 77 code on a MAC with gfortran: %LOC() causing problems? -
i working on compiling legacy fortran 77 code on mac os x 10.8.4 using gfortran 4.6.2. gfortran installed http://gcc.gnu.org/wiki/gfortranbinaries#macos site.
according gcc.gnu.org wiki gfortran, release 4.2 includes this: "the dec extensions %val, %loc , %ref supported."
i getting error below when compile:
ipl(i) = %loc(r8d(initx(i)+1)) 1
error: invalid character in name @ (1)
is there workaround?
it seems new intrinsic loc can used instead:
the loc() intrinsic works same way %loc() construct
Comments
Post a Comment