gfortran and g77 different
Jerry DeLisle
jvdelisle@verizon.net
Fri Dec 10 02:18:00 GMT 2004
I stumbled across this today. Compiles and runs with g77. gfortran
gives a compile error.
PROGRAM CUBSPL
DO 1000 I1 = 1,1E2
WRITE (*,*) I1
1000 CONTINUE
END
-----------------------------------------
[jerry@quantum testing]$ f95 error.f
In file error.f:3
DO 1000 I1 = 1,1E2
1
Error: End expression in DO loop at (1) must be a scalar INTEGER
Would you like a bug report on this?
Jerry
More information about the Fortran
mailing list