experience using gfortran to compile F77 code

Bud Davis bdavis9659@sbcglobal.net
Wed Jan 23 12:58:00 GMT 2008


just finished feeding about 250K lines of fortran-77 source into gfortran (250K lines as shown by
wc).

this is, as they say, mature code, being written originally on a GOULD MPX system, then moved to a
DEC Alpha running Tru64 Unix, then to g77 on i386 and now to gfortran.

the results were excellent:

about 25 files need small change due to non-standard code (things that are just plain wrong..IF
(XX) where X was an integer...that kind of thing)

3 baby bugs ( no XOR operator, no common block name in VOLATILE statements, tab counts more than
one position in fixed format).


trust me.  this is nothing.  it has taken days after a compiler switch in the past to get the code
to compile.  many days in some circumstances :)

wonderful.  i encourage anyone who has been waiting to make the plunge to gfortran from g77 to
give it a try.


--bud




More information about the Fortran mailing list