gfortran and g77 different
Steve Kargl
sgk@troutmask.apl.washington.edu
Fri Dec 10 02:27:00 GMT 2004
On Thu, Dec 09, 2004 at 06:15:11PM -0800, Jerry DeLisle wrote:
> 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?
PR 16222
There is also a patch.
--
Steve
More information about the Fortran
mailing list