This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
experience using gfortran to compile F77 code
- From: Bud Davis <bdavis9659 at sbcglobal dot net>
- To: fortran at gcc dot gnu dot org
- Date: Tue, 22 Jan 2008 16:20:18 -0800 (PST)
- Subject: experience using gfortran to compile F77 code
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=ETTma/48pC6LuerBY0is0RHGFy/NZsc9rKDdC5C3WNcwWo2UBj/9M/4/lFUCjcxeVb34rBnWJsQHGKsGxXlQArzpmX8sr9Vm0ka34qFnH78dJorAuAouNNgqEhKY+jpAysNc+YBu0BkJ4chTGJEsuP6uQ4R+5WWd7JSW8dmoKWk=;
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